Pingo crash (PNG)

Javi said on 05/07/2018

Hi Cédric,

Pingo crashes compressing this file:

pingo -s8 example.png

example.png

Javi said on 05/07/2018

BTW, it seems that -pngquality it does not work if you also use -pngcolor, and the results are also different if you change the order of these parameters. What's the optimal way to use them?

Javi said on 05/07/2018

Oops, I forgot that the -auto=x param does not work with some PNGs like this:

example2.png

cédric (dev) said on 05/08/2018

Pingo crashes compressing this file
pingo -s8 example.png

i think it is related to the optimized deflate (32-bit = crash; 64-bit = ok) - [edit 05/12/2018 & 05/18/2018: 0.96z96 & 0.97 should attempt to avoid crashing (not optimal yet). thanks for report]

-pngquality it does not work if you also use -pngcolor

it does not work like this — do not combine, choose one. see examples

-auto=x param does not work with some PNGs like this

auto will convert this PNG to JPG — so the value is considered for the JPG. if you expect to do auto lossy on this PNG, use the -pngquality instead

comment this