Adaptive-Images icon indicating copy to clipboard operation
Adaptive-Images copied to clipboard

Convert color profiles in JPEG into sRGB

Open CatoTH opened this issue 12 years ago • 3 comments

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: http://adaptive.hoessl.eu/ ; 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".

CatoTH avatar Dec 30 '12 13:12 CatoTH

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?

decarola avatar Mar 05 '13 11:03 decarola

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):

  • http://pudge.se/MZRr - Original - 163KB
  • http://pudge.se/kY26 - Photoshop (75% Quality) - 101KB
  • http://pudge.se/2vRH - Adaptive (75% Quality) - 50KB

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

pudgereyem avatar Jan 27 '14 13:01 pudgereyem

Same problem here.

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

(I'm using a Wordpress plugin (https://wordpress.org/plugins/imagemagick-engine/) for this, but obviously its images are being superseded by Adaptive Images')

j-greig avatar Jun 16 '14 11:06 j-greig