I want to reproduce with magick++ the fallowing command line :
Code: Select all
C:\Program Files\ImageMagick-6.4.7-Q16>convert C:\00000.dpx -set colorspace RGB C:\00000.tga
I tried :
Code: Select all
Image m_MagickImage;
m_MagickImage.read("C:\00000.dpx");
m_MagickImage.colorSpace(RGBColorspace);
m_MagickImage.write("C:\00000.tga");
the result isn't the same
How can I set the colorspace with magick++ ?
thanks