Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPngHeader = errors.New("Not a Png") ErrImageData = errors.New("Unexpected amount of image data") )
Functions ¶
func PngRevertOptimization ¶
old, compatible version
func PngRevertOptimizationWithSize ¶
This function actually does everything: reads PNG from reader and in case it is iOS-optimized, reverts optimization.
Function does not change data if PNG does not have CgBI chunk.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.