You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: zTXt: chunk data is too large (libpng failed)
error: cannot decode image bug.png
It's because libpng has a too small default limit value for chunk size, should be able to solved like the issue above, (ImageMagick/ImageMagick@e6f6f88)
I've tried to solve it, but two projects are very different, out of my ability.
The text was updated successfully, but these errors were encountered:
Not a solution, but FYI for anyone stumbling over this issue.
In my case I could prevent the error by stripping out meta-data beforehand. I just tested with the provided bug.png and could run pngquant on it.
My png came from a jpg containing ClippingPaths which made up like 90% of the filesize, with those removed, I did not encounter the error again.
I couldn't figure out what the issue with the bug.png is.
Like this issue:
ImageMagick/ImageMagick#1301
pngquant bug.png
It's because libpng has a too small default limit value for chunk size, should be able to solved like the issue above, (ImageMagick/ImageMagick@e6f6f88)
I've tried to solve it, but two projects are very different, out of my ability.
The text was updated successfully, but these errors were encountered: