MagickGetColorspace() always return UndefinedColorspace?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
zhcn381
Posts: 17
Joined: 2012-07-05T02:34:18-07:00
Authentication code: 13

MagickGetColorspace() always return UndefinedColorspace?

Post 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.
zhcn381
Posts: 17
Joined: 2012-07-05T02:34:18-07:00
Authentication code: 13

Re: MagickGetColorspace() always return UndefinedColorspace?

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