hi all...
I'm implementing vc++6.0 application using ImageMagick-6.3.4.
I'm loading DPX image (i.e Gray scale image) by converting it into RGB and applying colors to the pixels of the image.
Finally saving the image with following settings.
m_Image.defineValue("dpx","television.gamma","1.9");
m_Image.defineValue("dpx","television.white_level","95.0");
m_Image.defineValue("dpx","television.black_level","685.0");
m_Image.colorSpace(LogColorspace);
m_Image.write("C:\\test.dpx");
If write image in DPX format,the output image contains wrong colors like Red to Blue, Blue to Red and Goldcolor to Some other color etc. And it gives correct output image for Before changes Gray scale image.while taking input as DPX image.
If write image in JPG or TIF format,the outtput iamge displays some pixels too bright but it gives correct colors.And
Can you please help me what to do to get correct colors on the output image.And it gives same output image (i.e Bright pixels) for Before changes Gray scale image,while taking input as DPX format.
Thanks in advance.....