MagickBooleanType And MagickQuantizeImage

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
imagetester

MagickBooleanType And MagickQuantizeImage

Post by imagetester »

I need to convert an image depth to 24 bits/pixel.
I tried MagickSetImageDepth(m_wand,24) but i was not doing its job.



so I tried MagickQuantizeImage(m_wand,0,RGBColorspace,0,MagickBooleanType::MagickFalse,MagickBooleanType::MagickFalse);

again nothing happens
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickBooleanType And MagickQuantizeImage

Post by magick »

I need to convert an image depth to 24 bits/pixel.
I tried MagickSetImageDepth(m_wand,24) but i was not doing its job.
The image depth is per pixel component. Set the wand depth to 8.
Post Reply