Writing 8bit grayscale tiffs with ImageMagick Q16
Posted: 2014-06-10T04:51:01-07:00
Hello,
I am using ImageMagick 6.8.8 Q16 for loading 16Bit Tiffs and writing 8Bit Tiffs.
When saving an 8Bit Pixel Tiff image, ImageMagick always creates and 16 Bit Tiff.
Upper 8Bit and lower 8Bit are the same. A 512x512 image needs about 512kb, not 256kb.
How can I write a real 8 bit Tiff ?
greets,
Dennis
I am using ImageMagick 6.8.8 Q16 for loading 16Bit Tiffs and writing 8Bit Tiffs.
When saving an 8Bit Pixel Tiff image, ImageMagick always creates and 16 Bit Tiff.
Upper 8Bit and lower 8Bit are the same. A 512x512 image needs about 512kb, not 256kb.
How can I write a real 8 bit Tiff ?
Code: Select all
Image image( width, height,"I", Magick::CharPixel, buffer );
image.compressType(NoCompression);
image.write("d:/tmp/output.tif");
Dennis