This is related to issue #36, but with some differences:
This also optimizes JPEG image(s), including one PNG image that was a JPEG image, which is reconverted to JPEG.
PNG images with transparent background are filled with the same color used in the website since indexed color does not properly support alpha channel (as far as I know).
PNG images have their Total Unique Colors (TUCs) reduced to a number following this calculation: ((TUC/8)+(TUC/9))/2 instead of the reduction factor said in the aforementioned issue.
With this optimization, the file size of the entire library of images from chapters 0 to 7 are reduced from ~3MBs to ~700KBs.
Originals are included inside the new "originals" directory.
This is related to issue #36, but with some differences:
With this optimization, the file size of the entire library of images from chapters 0 to 7 are reduced from ~3MBs to ~700KBs.
Originals are included inside the new "originals" directory.