Replies: 4 comments 9 replies
-
I can confirm there is an issue with 'big' images. If you draw @tremppu's image on a canvas, or save it in a different format, the new image will be cropped. It's like there's not enough memory to keep all the pixels. |
Beta Was this translation helpful? Give feedback.
-
This has to do with your excessive use of |
Beta Was this translation helpful? Give feedback.
-
I use this image in ImageMagick, and it doesn't work either, but in MozJPEG, it works. |
Beta Was this translation helpful? Give feedback.
-
Saw that the update was available and went to test out the new error but for some reason did not get the error as the "jpg-that-does-not-work" now works with 0.0.29 (does not work with 0.0.28). 🤔 I have no idea what else was updated but anyway the problem is gone with that image and few others 😅 . |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
magick-wasm version
0.0.28
Description
When optimizing some JPGs I think the instance gets disposed before it's ready.
Steps to Reproduce
Here is a code snippet that works with most JPGs but not with some:
This code should result into "instance is disposed" but if the "magicFile.quality = 95" is commented out it results into empty data.
Images
Here is a Google Drive link since the image that is not working was too large for upload: https://drive.google.com/drive/folders/1KCeiBcSYQAh5zK2yaE4CmlJmgMYkm6aj
ps. large image is not the problem, I have been able to handle even larger files.
Beta Was this translation helpful? Give feedback.
All reactions