Page 1 of 1

MagickGetColorspace() always return UndefinedColorspace?

Posted: 2013-11-06T01:35:26-07:00
by zhcn381
hi magick,

I'm using MagickWand API now. I have checked the code. MagickGetColorspace() will get colorspace from ImageInfo, but after decoding, only Image.colorspace will be set. So Magick::Image::colorSpace() can get the right value but MagickGetColorspace can't. Please help me out. Thx.

Re: MagickGetColorspace() always return UndefinedColorspace?

Posted: 2013-11-06T02:38:26-07:00
by zhcn381
I have noticed that there is another MagickSetImageColorspace/MagickGetImageColorspace which can do this for me. My problem solved. So now my question is this: what's MagickGetColorspace/MagickSetColorspace used for?