Edit report at http://bugs.php.net/bug.php?id=53598&edit=1

 ID:                 53598
 User updated by:    the-ninth at gmx dot com
 Reported by:        the-ninth at gmx dot com
 Summary:            GD does not support color profiles
-Status:             Feedback
+Status:             Assigned
 Type:               Feature/Change Request
 Package:            GD related
 Operating System:   Irrelevant
 PHP Version:        Irrelevant
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, should be back now.



I added one more:

http://www.the-ninth.com/demo/demo_phpim.jpg



This one was re-sized with ImageMagick, which retains the color
profile.



Cheers, Robert


Previous Comments:
------------------------------------------------------------------------
[2010-12-26 19:22:25] [email protected]

Can you restore the links please? 404 now

------------------------------------------------------------------------
[2010-12-24 01:11:27] the-ninth at gmx dot com

Hi,



Try this one: 

http://www.the-ninth.com/demo/demo_php_argb.jpg

http://www.the-ninth.com/demo/demo_lightroom_argb.jpg



It was generated in AdobeRGB color space and the profile was removed
during resizing. I assume that your Firefox should display it
differently, because for the one from Lightroom it knows that it is
AdobeRGB while for the one from PHP/GD it will fall back to sRGB.



But in any case, the essence is that color profiles are a part of images
and at least some current browsers rely on this information. At the
moment it is FF and Safari, and IE9 will have color-management too. Then
the problem will affect the majority of users.



So for the future it would be really helpful if GD would allow to
read/write color profiles.



Cheers, Robert

------------------------------------------------------------------------
[2010-12-23 15:52:56] [email protected]

I think I need more visible differences as I don't have a calibration
system in place nor a calibrated monitor :P



I will already analyze the delta in the meta information of both images.

------------------------------------------------------------------------
[2010-12-23 15:45:06] the-ninth at gmx dot com

Hi,



Check these two pictures:



http://www.the-ninth.com/demo/demo_php.jpg

http://www.the-ninth.com/demo/demo_lightroom.jpg



demo_lightroom.jpg was generated by Adobe Lightroom and contains the
profile. Demo.php was generated by GD and does not contain the profile.



To see the difference you need to have a system color profile that is
different from sRGB, like you would have with a calibrated monitor. Then
if you open them in Firefox you'll see the difference. I think Safari
does color management too, so you might see the difference there as
well. Maybe also IE9.



If you do not have a calibrated monitor, then probably sRGB is the
system default anyway, so in this case Firefox takes sRGB for the
picture without the profile and the result is correct.



Thanks, Robert

------------------------------------------------------------------------
[2010-12-23 15:37:47] [email protected]

hi,



Can you send me a couple of images with the profile(s) you are referring
to please?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=53598


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53598&edit=1

Reply via email to