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?".
Hi all,
can anyone tell me how can i create a 8 bit image from scratch, or to convert an existing 24 bit image to 8 bit and 1 bit?
I use follow code, but the image created is always 24 bit:
Solved in this way: by default, perhaps, the library uses some comrpession type in order to optimization.
with:
img->compressType(MagickCore::NoCompression);
it saves correct bit depth image.
Tank you
Best regards