Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImgToPix ¶
ImgToPix converts an image to an 1D uint8 pixel array. In order to preserve the color information per pixel we need to reconstruct the array to a specific format.
func PixToImage ¶
PixToImage converts the pixel data to an image.
func RgbaToGrayscale ¶
RgbaToGrayscale converts the pixel data to grayscale mode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.