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.
This is my first time with ImageMagick. I read a 24bit BMP file (8 bits per channel) and when i iterate pixel by pixel the pixels are 16bits per channel. What is happening?
The image that i open is 24bits and the image that my code writes in disk is 24bits, but in pixel iterators i treat the image as it was 48bits (16bits per channel).
I want to treat the image as 24bits (0-255 for each channel, not 0-65535 for each channel) image.
Can you explain why it is a problem that the pixel iterator has 16 bits per channel? And instead of modifying the pixels by yourself you could also call the MagickNegateImage method that does the same as what you are trying to do.