Several posts on this forum over the past years have mentioned that resized photos lose their embedded color profile, because GD doesn't support color management and strips the embedded profile.
This will result suboptimal display even in some browsers that do support color management, because they don't assume sRGB when no profile is embedded. I think the current release of Firefox 3 does assume sRGB if management is turned on, but Safari doesn't.
I realize that this is not a ZP bug, but with increasing awareness of and support for color management it will be an issue for more and more ZP users. At least for me it is an issue, because most visitors of my website are either photographers or clients in the publishing business.
I just came across a blog post that suggests it's possible to
re-embed the sRGB profile using ImageMagick after the GD manipulations, if I understand correctly.
I guess it's not a very elegant solution, but if it would be possible to implement this in Zephoto, this would be a welcome workaround to me, and perhaps many other users.
Comments
Since we have Imagick/ImageMagick support now, did you try that?
I didn't realize it was supported. Your troubleshooting guide still appears to mention it isn't.
Thanks.
To the best of my knowledge, all mainstream browsers, except those based on WebKit, will by default assume the display profile (i.e. there is no color management), whether there is a profile embedded or not.
Safari 4 does not assume sRGB when it is not embedded. Firefox 3 does, but only when color management is turned on (by default it's turned off).
To my knowledge Safari is the only major browser that has color management enabled by default (since v3 if I remember right).
Which is why I'm very happy with Imagick support .
If I understand correctly, imagick now has the ability to leave ICC profile embedded in an image. Though, the thumbnails of my images are stripped off (or not provided with) the Adobe RGB profile, which the full images have.
Full size images are rendered with the colors I intended (I am using Firefox).
imagick is enabled and here is its info as provided my Zenphoto:
Graphics support: PHP Imagick library 2.2.2
ImageMagick 6.4.8 2009-12-31 Q16 OpenMP http://www.imagemagick.org
Is there anything else that needs to be turned on/enabled for thumbnails to have color profile?
Thanks!
It's simple to copy profiles with Imagick, but there may need to be a small core change first.