Comments (5)
Hi,
I will have a look into it! Thanks for the report.
from pngmin.
I have tested now both pictures and both are getting minified... Can you post your gruntfile config for the pngmin task? Then I could try that config in my own machine. Thanks!
from pngmin.
Hello, tanks for Your reply.
Here is a torso of project including Gruntfile.js:
https://app.box.com/s/lzd8avn41krn91p49hgu
from pngmin.
Hello kozis,
thanks for the files! Now I probably know whats causing problems. It's the "quality" option.
In the docs: "Instructs pngquant to use the least amount of colors required to meet or exceed the max quality. If conversion results in quality below the min quality the image won't be saved and pngquant will exit with status code 99".
So propably with one of your pictures, it's below the min quality and it's not saving it. As a quick workaround you shouldn't use the quality option.
I will make a bugfix this week and publish it to npm as soon as possible.
Thanks again for your report and I hope it's not a big problem to leave the quality option for the moment!
from pngmin.
Hello Zauni,
thanks for quick response. Workaround with quality option is working for me.
Pngmin is a very useful plugin and I like having it in our workflow. :)
from pngmin.
Related Issues (15)
- Aborted due to warnings - too many files? HOT 2
- Version 0.6.3 freezes grunt sequence HOT 2
- error v0.6.3 HOT 2
- pngquant-bin HOT 1
- Revert optimization for files where optimization saved 0% HOT 4
- Support grunt 1.0.1 HOT 4
- Please add an option to enable dithering. HOT 3
- Show overall compression in percent
- No error handling when pngquant fails. HOT 2
- Run optimized image through optipng HOT 1
- Fatal error: Reduce of empty array with no initial value HOT 16
- Fatal error: spawn EACCES HOT 3
- Diff between Win & Mac OS? HOT 4
- Fatal error: Reduce of empty array with no initial value HOT 2
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 pngmin.