![]() |
|
@manupix:
> Nope, it's because you save in RGB mode ('truecolor', PNG-24) instead of indexed color mode (PNG-8).
This isn't true, either. I mean, it doesn't help,but..
* current preview PNG: 20k
* preview PNG loaded into GIMP, exported as RGB, with (EXIF, XMP, IPTC, Thumbnail) data turned OFF : 1.5 kb
* As above, but first converted to indexed: 859 bytes.
* After running optipng on the above two: RGB version is 838 bytes, indexed is 839 (????)
Given I get a color profile conversion dialog when I load the original PNG, I'm gonna guess that an ICC profile or similar (inside IPTC or EXIF block) is what is actually consuming all the space.
oh shit well i guess thats that. Thanks fior telling me Nope, it's because you save in RGB mode ('truecolor', PNG-24) instead of indexed color mode (PNG-8). ugh yea Ii know its bc of the duplicate colors which i still havent completely figured out
As a followup: optipng ('optipng -strip all') or similar can't necessarily strip this stuff automatically, as stripping this particular data can change the displayed colors. Probably the best measures are
a) work in sRGB to begin with
b) explicitly turn off EXIF,XMP, and IPTC exporting (and check that the result looks visually identical)