GithubHelp home page GithubHelp logo

png.decode callback function about png.js HOT 9 OPEN

tlhunter avatar tlhunter commented on September 1, 2024
png.decode callback function

from png.js.

Comments (9)

peterjwest avatar peterjwest commented on September 1, 2024

Bump! Just ran into this myself, thanks for raising it.

from png.js.

edi9999 avatar edi9999 commented on September 1, 2024

Yes, totally true, this library is not usable as is because of this, because it throws exceptions from nowhere

from png.js.

dceejay avatar dceejay commented on September 1, 2024

Any chance of this being fixed - or is this npm abandoned ? Any good alternatives ?

from png.js.

edi9999 avatar edi9999 commented on September 1, 2024

Haven't found any better alternatitves personally ...

from png.js.

dceejay avatar dceejay commented on September 1, 2024

I'm now using pngjs rather than png-js

from png.js.

devongovett avatar devongovett commented on September 1, 2024

I'm using https://github.com/devongovett/png-stream these days.

from png.js.

photopea avatar photopea commented on September 1, 2024

If you have made a new, better library, what about deleting this one from Github?

from png.js.

edi9999 avatar edi9999 commented on September 1, 2024

It shouldn't be deleted from github, but it would be good to show a deprecated sign and link to the new png-stream repository

from png.js.

photopea avatar photopea commented on September 1, 2024

When you search for "png javascript" on Github, this is the first result. Many people start using it without noticing, that author "does not care" about this library for quite a long time.

Right now, I need to decode PNGs with palettes for my app https://www.Photopea.com and can't find a good library. Many good JS libs are made to work inside Node.js only. I think these bindings are completely unnecessary .

from png.js.

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.