Comments (9)
Bump! Just ran into this myself, thanks for raising it.
from png.js.
Yes, totally true, this library is not usable as is because of this, because it throws exceptions from nowhere
from png.js.
Any chance of this being fixed - or is this npm abandoned ? Any good alternatives ?
from png.js.
Haven't found any better alternatitves personally ...
from png.js.
I'm now using pngjs rather than png-js
from png.js.
I'm using https://github.com/devongovett/png-stream these days.
from png.js.
If you have made a new, better library, what about deleting this one from Github?
from png.js.
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.
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)
- From browser Worker HOT 4
- Please define your licence HOT 1
- Stuck in loop if corrupt file
- Can't not decode this file. HOT 1
- No License HOT 1
- Invalid filter algorithm: 222
- png-js in angular
- README uses `sudo npm`
- Make library browser friendly
- Missing LICENSE file in release tarball. HOT 1
- Can't capture exceptions when adding "invalid" PNG to the document HOT 1
- Uint16Array from 16-bit per channel PNG?
- decoded pixels giving black image
- Having data passed from PHP, how can we handle the file?
- hi
- How to outuput the pixels value as an RGB array instead of Buffer.
- Error: Invalid filter algorithm: 255
- Impossible to catch error thrown from inside decodePixels' zlib.inflate's callback
- Stack overflow when decoding some png with big teXt chunks
- No license field in package.json 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 png.js.