CR2 to TIFF Conversion without Color Change

Mar 18, 2014 at 12:08 PM
Edited Mar 18, 2014 at 12:26 PM
Hi the Magick.Net community,

I am trying to convert CR2 file to Tiff without changing the color.

My CR2 Files' color profiles are AdobeRGB1998, but not embedded color profile. It has the space name but not the data, so Magick.Net can not recognize the profile as AdobeRGB so it recognizes as default (sRGB).

According the my reads on other related discussions, it will not be matter if I use this kind of code:
 using (var image = new MagickImage(CR2Path))
                image.RenderingIntent = RenderingIntent.Absolute;
                //Image does not have ColorProfile but have ColorSpace as sRGB
                //Hopefully it will recognize when I assign with AddProfile
                //Source Profile
                //Target Profile
                //Code can be seen silly to assing source and target same profile but if I don't, the target profile becomes sRGB not AdobeRGB

The resuts are in given image:
Left one is original CR2 Right one is the output.
All of them is AdobeRGB space. It was checked in Photoshop.

How can convert the image that results will be exactly same?
Mar 18, 2014 at 1:03 PM
Can you post a link to your cr2 image? And which version of dcraw are you using, or where did you download it? And can you post an image that contains the expected colors?
Mar 18, 2014 at 1:46 PM
Hi again,

I use but I think it uses ImageMagick. So the ImageMagick has dcraw 9.19

I posted Photoshop tiff conversion of the CR2 image also. It is same with CR2. But with Magick.Net it like take little more exposure.


My CR2 file is :
Mar 18, 2014 at 1:54 PM
Which version of Magick,NET are you using and did you also install ImageMagick?
Mar 18, 2014 at 1:59 PM
Magick.Net-Q16-x64 Version:
Mar 18, 2014 at 2:13 PM
Edited Mar 18, 2014 at 2:26 PM
Can you post a link to the converted with Photoshop image so I can compare it with the result from Magick.NET?
Mar 18, 2014 at 2:40 PM
My Output:

You can also convert CR2 to Tiff with Photoshop
The results are different
Mar 18, 2014 at 2:48 PM
I meant the output from CR2 to tiff with Photoshop. I do not have Photoshop.
Mar 18, 2014 at 2:59 PM
Sorry for misunderstanging.

I am uploading the photoshop output image.
Mar 18, 2014 at 3:10 PM
Mar 19, 2014 at 7:54 AM
I cannot figure out how to get the same colors as the image from photoshop. Maybe you could ask your question on the ImageMagick forum: And once we figure out the correct commands on the command line I can help you translate them to Magick.NET