Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxDistance is the result of calculating dist(color.White, color.Transparent) // It is slightly less than MaxUint32 and shouldn't be swaped for it. MaxDistance = 4294836224 )
Variables ¶
This section is empty.
Functions ¶
func InterframeCompress ¶
InterframeCompress helps optimize gifs by analyzing colors across frames and setting pixels to transparent if they are below a threshold difference.
InterframeCompress is a lossy method of removing pixels to allowing gifs LZW compression to better do its job.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.