Convert color profiles in JPEG into sRGB #94

wants to merge 1 commit into


None yet

4 participants

CatoTH commented Dec 30, 2012

I encountered a problem with Adaptive Images when using it for Jpeg files that have an embedded color profile. The color profile is lost, as this seems to be not yet supported by the GD library, changing the displayed colors. The problem can be seen here: ; the upper image is the original, the lower one is converted image; the bright red color has changed into something rather brownish.
The only solution I found to this problem was to use an external programm to convert the images into sRGB; the proposed patch uses the program "jpegicc".

decarola commented Mar 5, 2013

Went into the same kind of problem. Do you think Matt Wilcox will add the jpegicc program into the default version of Adaptive-Images? Actually, did he reply to you?


Just want to stay that I also have this problem with managing Color profiles.
Besides that, I also experienced that the images created with Adaptive Images gets pretty bad. If you compress the same image in Photoshop it's all good. I will file a separate issue for this probably.

Below are some comparisons for an image (2560 x 1707):

..the version that Adaptive outputs is half the size, but it looks really bad. Why? Ping @MattWilcox @CatoTH @decarola

j-greig commented Jun 16, 2014

Same problem here.

This could also be fixed by enabling Imagick as an alternative to GD library, right?

(I'm using a Wordpress plugin ( for this, but obviously its images are being superseded by Adaptive Images')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment