Alex Rivera | Logout

Converting JPEG colorspace (Adobe RGB to sRGB) on Linux

Asked 2009-05-03T18:57:20.797
16

I am generating thumbnails and medium sized images from large photos. These smaller photos are for display in an online gallery. Many of the photographers are submitting JPEG images using Adobe RGB. I have been asked if the thumbnail and medium size images can use sRGB as the images as is appear "flat" in some browsers.

I'm currently using ImageMagick to create the smaller versions. It has a -colorspace option, but that doesn't seem to do what I want.

Is there any other way to do this? Also, do you think this is worthwhile?

Edit
Report

1 Answer

9

Have you tried using Little CMS? This command will convert an image with a special color profile (i.e. Adobe RGB 1998) to one with no color profile but the same effective colors:

jpgicc -q100 input.jpg output.jpg

I'm setting JPEG quality to 100 here.

answered 2012-05-29T20:54:43.730

Your Answer