imagineer v0.3.1 Imagineer.Image.PNG.Palette

Packing and unpacking palettes.

PNGs can optionally store all colors that they use in a palette, then have their pixels simply reference one of those colors instead of encoding them all individually.

Sometimes this can reduce file size and/or improve compression. When is this the case? This library author has no idea.

Summary

Functions

pack(image)
unpack(image)