Giter Club home page Giter Club logo

Comments (5)

oliver-moran avatar oliver-moran commented on September 23, 2024

Sounds like a great idea! And I see now that node-png supports it.

If you do a fork and follow a similar pattern used for JPEGs I'll pull in
your changes.

On Tue 14 Jul 2015 5:18 PM Stefan Lau [email protected] wrote:

First time using your library and I have to say it's great.

Now to the point: As it's possible to set the quality of a jpg file, it
would be cool if it's also possible to set some options for pngs, in my
case the deflateLevel and filterType options if node-png would be
required. You think that this would be a good addition?

If yes: What would the functions that implement this look like? I might
take a shot at implementing if you'd like.


Reply to this email directly or view it on GitHub
#25.

from jimp.

neophob avatar neophob commented on September 23, 2024

I think it make sense to create a separate function to define png specific encoding options - as there are two options. is that ok?

from jimp.

oliver-moran avatar oliver-moran commented on September 23, 2024

Makes sense.

from jimp.

oliver-moran avatar oliver-moran commented on September 23, 2024

This should be pretty simple now that we are using pngjs2: https://www.npmjs.com/package/pngjs2

from jimp.

oliver-moran avatar oliver-moran commented on September 23, 2024

This is all done now. Thanks a lot!

from jimp.

Related Issues (20)

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.