New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZopfliPNG error: Decompress Zlib data failed. #62
Comments
If you use
Maybe I should disable the ADLER32 check in lodepng, since PNG already has CRC32 check for the IDAT. |
Turns out the file is not corrupt at all, and it was a bug in |
It works now, and somehow cuts 2 bytes more than oxipng 4.0.0 (with -Z) from this PNG file. By the way, Windows Defender says nothing about build 243, but reports all build 244 artifacts as VirusTotal results are different with each other, so I guess it must be a false-positive. In order of scanning: I allowed it as an exclusion for now, but not sure what else I can do. Anecdotally, Windows Defender complaining about Leanify - one single thing out of a mega collection of optimizers - was how I found this project in the first place, and it was exactly what I needed. |
I use leanify on itself since it support exe files, it uses similar tricks used in some packers to save size, and antivirus software are known to identify packers as virus simply because a lot of virus use packers. |
Hi.
While trying to optimize one ORA file saved years ago in MyPaint (which overall went very well, 7 MB cut down to 4), I got an error message about one PNG inside:
Running Leanify directly on this extracted PNG gives the same message and the file is unchanged, only modtime.
I tried all 4 versions of the last build (243) from https://ci.appveyor.com/project/JayXon/leanify - same error message.
OptiPNG, OxiPNG, TruePNG all have no problem optimizing it.
Running Leanify directly after them also has no problems and saves some more bytes (same result as OxiPNG -Z alone, but faster).
I'm attaching the unoptimized PNG file here.
The text was updated successfully, but these errors were encountered: