I cannot manage to transform a monochrome tiff loaded from disk in an Image object into a bitmap with 1 bit per pixel.
I'm using Magick++, not the command line tool.
I tried with
Code: Select all
image.depth(1)
Code: Select all
image.type(BilevelType)
when getting the depth it was correct, but after writing the image on disk
Code: Select all
image.write("bla.bmp")
Is there any restriction that I'm missing? Because from command line it worked...
Thank you
Daiana