Giter VIP home page Giter VIP logo

Comments (5)

zauni avatar zauni commented on May 30, 2024

Hi,
I will have a look into it! Thanks for the report.

from pngmin.

zauni avatar zauni commented on May 30, 2024

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.

kozis avatar kozis commented on May 30, 2024

Hello, tanks for Your reply.
Here is a torso of project including Gruntfile.js:
https://app.box.com/s/lzd8avn41krn91p49hgu

from pngmin.

zauni avatar zauni commented on May 30, 2024

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.

kozis avatar kozis commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.