Add option and functionality to allow for lossy alpha reductions #23
Labels
I-Medium
Issues that are breaking core functionality, but have a known workaround
T-Feature
Requests for a new feature to be added
T-Needs Tests
Several other PNG optimisers such as zopflipng have the option to perform "lossy" alpha optimisations. Pixels which are fully transparent may still have RGB data associated; the "lossy" part is to discard said RGB data (which means it's perceptually lossless). An advanced form of this is to set the fully transparent pixels to an RGB value that allows easier compression by the block filters and DEFLATE, depending on the visible pixel data in the image.
The text was updated successfully, but these errors were encountered: