Can't MagickSetType() unless wand has images

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
fisheggs

Can't MagickSetType() unless wand has images

Post by fisheggs »

MagickSetType() is documented as a MagickWand property setter, but you can't use it on a MagickWand that has no images.

Since it's only updating wand->image_info->type, is the test for images needed? Or should it be a MagickWand image method?

On a related matter, there is no MagickGetType()

built from ImageMagick-6.3.5-1.tar.gz on Ubuntu Feisty x86_64 GNU/Linux
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can't MagickSetType() unless wand has images

Post by magick »

The problem you reported is fixed in ImageMagick 6.3.5-2 Beta available sometime tommorrow. Thanks.
fisheggs

Re: Can't MagickSetType() unless wand has images

Post by fisheggs »

Thank you.

Can I push my luck and ask if MagickAddImage() adds to inconsistant position will be investigated as well?
Post Reply