aws-lambda-image icon indicating copy to clipboard operation
aws-lambda-image copied to clipboard

Resize/convert to JPG strips color profile?

Open schmoove opened this issue 7 years ago • 2 comments

The conversion seems to strip the color profile in some cases. The original has the Adobe RGB (1998) color profile, but the resized version is missing it, and is noticeably desaturated.

Original: https://syngency-public.s3.amazonaws.com/4/models/45357/galleries/AlexB_resized.jpg

Resized: https://syngency-public.s3.amazonaws.com/4/models/45357/galleries/large/AlexB_resized.jpg

Is there a setting I should change in config to prevent this from happening?

schmoove avatar Jan 17 '19 06:01 schmoove

Hi, I can tell you that we found out that color changes (and metadata being omitted) happen when auto orientation is called (ImageResizer.js:36). When we switched that off, we noticed that colors are preserved.

tomericco avatar Feb 24 '19 09:02 tomericco

Interesting - thanks, we will try it.

schmoove avatar Feb 26 '19 01:02 schmoove