Quantum Depth in Core vs Wand

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
pmlogan

Quantum Depth in Core vs Wand

Post by pmlogan »

I'm new to ImageMagick. I'm using V6.4.5.

When I run an image through the software with QuantumDepth defaulting to 16, I get the following message:

QuantumDepthMismatch 'Q8'

When referenced, this error indicates that the core depth is different than the wand depth.

I tried reconfiguring the software with the --with-quantum-depth=16, but got the same results.

I searched the software for places where the quantum depth is being set, but only find it
as a #define, which defaults to 16 if it is not set.

I want to keep 16.

Do I need to set something else somewhere in the code or in one of the includes to get rid
of this message? I've checked the code and this error definitely causes software in the
NewMagickWand method to be skipped.
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Quantum Depth in Core vs Wand

Post by el_supremo »

This isn't a difference between core and wand depth. It means that your program was compiled with the Q16 headers but the installed version of IM that is actually loading is Q8.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
pmlogan

Re: Quantum Depth in Core vs Wand

Post by pmlogan »

Thanks for the information.

It turned out that I had another library that contained a ReadImageBlob method
that was being picked up instead of the IM one.
Post Reply