-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PNG format seems broken since 0.0.8 #194
Comments
Can you open |
|
You are correct that #165 changes the way PNGs are encoded, but the additional code only runs if metadata is actually passed in. Another thing that changed in 0.0.8 is the version of pnglib, which could somehow be related to this. This will require more thorough checks to see if the problem is LWIP, ImageMagick or the new version of pnglib. I'll install ImageMagick on my machine to check. But before I do - Thanks. |
In the meantime, I have reinstalled lwip 0.0.7 to work around the issue and reinstalled lwip 0.0.8 back again to reproduce the failing sample. The original image I'm using to operate my tests is available here. Here are both thumbnails produced by lwip 0.0.7 and 0.0.8: And here is the difference that ImageMagick is now accepting to produce: The source code I'm using to produce thumbnails:
As you can see, the only metadata I'm manipulating is for gridfs and not for lwip. I have tried with a bunch of other images and I still cannot reproduce the issue, sorry. |
I'll close it for now. But please let me know if the issue comes back. A possible explanation is that when you first upgraded from 0.0.7 to 0.0.8, somehow the old binaries were not cleaned properly and were used with the new JS. |
Hello,
I'm using lwip to generate image thumbnails.
In order to test my code, I'm comparing a generated thumbnail to a standard one in PNG format.
Everything was fine since 0.0.8 on which my test raises an error.
In order to diagnose the issue, I have tried to compare the generated image with the standard one by using ImageMagick, I've got the following error:
new.png is the newly created thumbnail produced by lwip 0.0.8.
This might be related to #165 but I am not sure whether this is an ImageMagick issue or an lwip one.
The text was updated successfully, but these errors were encountered: