Not sure if this showed up somewhere else (the search terms, color profile embedded return unassociated results… ).
I run a Free Software photography forum over at discuss.pixls.us. As you might imagine, we have users that are very particular about how their images are displayed.
One thing we ran into recently was problems on a thread about color management:
One of the photographers noticed that the functionality of fetching linked images and storing them locally seems to strip the color information from the images. While this may be fine to save space on most forums, for a photography forum this is a bit painful.
To illustrate, this image has a rotated embedded color profile. It should show (Rot = Red, Grün = Green, Blau = Blue):
The source image I embedded in the post above can be found here:
Is the image processing being done with imagemagick? If so, is there any thought to possibly adding an option to convert uploaded image to sRGB and to tag them as such before saving?
(I’d be happy to investigate further if someone could point me to the relevant bits of code that handle image conversion when uploaded?)
@zogstrip - is the conversion being done using imagemagick? If so, would you mind pointing me to the relevant section?
It appears that we may only need an option to convert any images to sRGB if they have a different profile embedded, and then either strip the profile or specify that the image is now sRGB.
I was thinking about this and this seems very specific to a photography forum. If they want to keep all the metadata/color profile, they can just set SiteSetting.strip_image_metadata to false. For majority of the images, keeping the exif or iptc metadata isn’t going to be very useful.
Interesting @Patrick_David, so this is not really a bug… it is a feature request to allow for fidelity when stripping exif tags (or simply misunderstanding an existing feature)
I am going to close this for now, but feel free to open a new topic if you find setting strip_image_metadata to false unacceptable.