Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode interprets b as data representing a PNG image. It decodes the image and returns a gdf.XImage and an error. This function may not be ideal for all varieties of PNG. In particular, grayscale images with alpha channels are converted to their NRGBA equivalents, which may have the effect of significantly increasing the image's encoding size. Applications sensitive to performance may benefit from processing the image data separately and then generating the image's XImage representation by way of the gdf.LoadXImage function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.