You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried increasing the possible header size via maxMetaDataSize?
While this library does not parse ICC data, it should include all APPn and COMMENT markers (ICC data being one of them) in the image head (given a high enough maxMetaDataSize):
I can confirm that from my test the issue is still there. The ICC profile is still included in the resized image but the color are wrong. To me it looks like the profile is applied twice rather than not. Maybe the solution is to drop the custom color profile from the resized image instead of trying to preserve it.
Activity
blueimp commentedon Apr 28, 2020
Thanks for the report @thehappycoder.
Can you provide a sample image?
Have you tried increasing the possible header size via
maxMetaDataSize?While this library does not parse ICC data, it should include all APPn and COMMENT markers (ICC data being one of them) in the image head (given a high enough
maxMetaDataSize):JavaScript-Load-Image/js/load-image-meta.js
Lines 105 to 141 in 4d83777
In my tests, the ICC profile data from sample images (e.g. from http://regex.info/blog/photo-tech/color-spaces-page2) was still attached, but the color profile was not correctly applied anymore.
fleitnerfischer commentedon Sep 29, 2022
Hi @blueimp, looks like the issue is still there?
olivierbelzile commentedon Oct 3, 2022
I can confirm that from my test the issue is still there. The ICC profile is still included in the resized image but the color are wrong. To me it looks like the profile is applied twice rather than not. Maybe the solution is to drop the custom color profile from the resized image instead of trying to preserve it.