lucach / meta-png Goto Github PK
View Code? Open in Web Editor NEWJavaScript library to store and retrieve metadata in PNG files
JavaScript library to store and retrieve metadata in PNG files
Hey @lucach!
Sorry for me being here again, but one of my users found out an issue regarding png generation.
I'll link his description for better clarity:
FRSOURCE/cypress-plugin-visual-regression-diff#184 (comment)
There are example pngs to be downloaded at the end of his message.
I have confirmed that for some images indeed meta-png
is generating invalid PNGs, but I'm not quite sure why yet. I'll will add a comment here if I find anything.
Please let me know if you know what might be the issue ๐ค
I see the new meta-png v1.0.1 on https://www.npmjs.com/package/meta-png. When I do an npm install [email protected], I get only the package.json and the README.md. However, when I npm install [email protected], I get the package.json and the README.md, but also a 'dist' directory with the javascript files in it.
Is there an issue with the meta-png v1.0.1 module, at least the one on npmjs.com? Of course, I could have something messed up in my environment, but I reviewed my setup and I'm not seeing this issue with other modules, so I though it best to ask if anybody else is seeing this issue.
Thank you.
Hi, I saw the following error from Imagemagick on an image I had modified identify -verbose updated.png
:
identify: tEXt: CRC error `updated.png' @ warning/png.c/MagickPNGWarningHandler/1669.
Does the CRC checksum need to be updated after modifying the tEXt section?
The code was very simple: readFileSync
then addMetadata
with the key/value hello
and 42
, then writeFileSync
to a new file.
Thanks for this excellent library!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.