Comments (9)
Is there an issue filed upstream w/
zopfli
itself?
No, there isn't, but that paperwork is not necessary because I'm a maintainer of that library, and I've just pushed a change that I believe will fix this issue: zopfli-rs/zopfli@fcfb76c.
I'll test the fix with OxiPNG for a bit to confirm that the attached images are working fine now.
from oxipng.
@AlexTMjugador didn't get any errors so far. Also tried a 5760x2160 image, although I don't know if that one would have thrown an error.
from oxipng.
Noticed the same on Windows 10. Think this only applies to high-resolution images.
from oxipng.
I'm sorry about the issue. It's caused due to the zopfli
version bump to 0.7, which contains a regression that is generating corrupt streams (I can reproduce corruption problems by using the zopfli
binary on the attached image). I'll try to dig further in it.
from oxipng.
Is there an issue filed upstream w/ zopfli
itself?
from oxipng.
For your testing, here are some more images that failed on me. Weirdly it's not applying to all image of the same source.
Failing images for testing (issue 449).zip
Edit: Note that, at least I think so, the images got compressed with an older version, so you might see a 0,00% reduction.
from oxipng.
If you provide a compiled version, I can run tests too. I got the error on quite many images.
from oxipng.
Here it is a Windows build of the changes I'm testing. I've cross-compiled it from my Linux workstation and it seems to work well enough to show usage help under Wine: oxipng.zip
Edit: the problematic image attached by the issue poster has just been optimized successfully for me. Other images attached by @Maingron worked fine, too.
from oxipng.
Thank you all for your input 😄
I've just submitted a PR that should fix the issue.
from oxipng.
Related Issues (20)
- Announcing CPNG, "Compatible Network Graphics", a backwards compatible fork of PNG HOT 3
- File process order? HOT 4
- [Question] The order of files that gets processed changes randomly? HOT 6
- Enhance processing of 'dirty alpha' HOT 5
- --fast seems to only use one thread for most of the processing HOT 3
- Add docker release images HOT 7
- 9.1.0 Release missing on crates.io HOT 1
- Add man page to the brew package HOT 1
- Add a warning when a given strip/keep chunk name is invalid HOT 4
- OxiPNG stopped working on Windows 7 HOT 10
- Wildcard (*) fails if folder name contains square brackets ([ ]) HOT 6
- Unexpected --nx --nz behavior. Ignores interlaced images. HOT 1
- Case sensitive names under Windows HOT 1
- error: failed to run custom build command for `libdeflate-sys v1.20.0` HOT 6
- after compress the apng file, YYimage decode can not get the frames count of the apng file. HOT 4
- Threshold option to use with pre-commit HOT 2
- Faster method to bail on already optimized pngs? HOT 4
- Feature request: accept png paths list as stdin to ease wrapper script creation HOT 1
- Wrong Version either Reported or Packaged HOT 2
- `-o max` is worse than `-o 2` in some cases HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oxipng.