views:

49

answers:

1

How, in C#, can I define the colorspace a JPG is in? I am trying to create a small app to automatically convert to sRGB any image submitted in AdobeRGB colorspace.

Thank you for your help.

+1  A: 

You may find the content of this question helpful.

It seems to relate to the problem you are having.

http://stackoverflow.com/questions/1174832/converting-jpeg-colorspace-adobe-rgb-to-srgb-on-windows-net

If you are running a server side component to this application, then making a call to the ImageMagick convert command would be a very easy option.

gruntled
Daniel, before running the conversion, I want to make sure the image is actually in the wrong colorspace. I know how to convert, I just need to find out if the image does indeed need to be converted.
Raf