Set Colorspace

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
fournij

Set Colorspace

Post by fournij »

Hi
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
Post Reply