Search found 5 matches
- 2017-01-28T16:06:15-07:00
- Forum: Users
- Topic: save binary image
- Replies: 3
- Views: 2175
Re: save binary image
What does identify -verbose copy_check.tiff tell you about the resulting image. It may be 8/1 bits or 16/1 bits palette or truecolor. Try adding depth 1 and compress group4 or fax. What version of Imagemagick are you using and what OS/platform? Please always provide your IM version and platform ...
- 2017-01-28T14:33:05-07:00
- Forum: Users
- Topic: save binary image
- Replies: 3
- Views: 2175
save binary image
trying to save binary image:
Image image;
image.size(Geometry(10000,10000));
image.type(BilevelType);
image.write("D:\\copy_check.tiff");
but after saving file has size 195 MB. Why? After all, if it was converted into a binary, it's size must be about 10000*10000*1bit =10 MB.
Image image;
image.size(Geometry(10000,10000));
image.type(BilevelType);
image.write("D:\\copy_check.tiff");
but after saving file has size 195 MB. Why? After all, if it was converted into a binary, it's size must be about 10000*10000*1bit =10 MB.
- 2017-01-15T06:56:59-07:00
- Forum: Users
- Topic: Binary image (1 bit per pixel) c++ API
- Replies: 6
- Views: 5130
Re: Binary image (1 bit per pixel) c++ API
depth can be 1 if the output file format supports it monochrome converts to black/white (1-bit) See http://www.imagemagick.org/script/command-line-options.php#monochrome You can also use the equivalent of -type bilevel Or you can use the equivalent of -threshold to convert to 1-bit result. All ...
- 2017-01-14T23:18:21-07:00
- Forum: Users
- Topic: Binary image (1 bit per pixel) c++ API
- Replies: 6
- Views: 5130
Re: Binary image (1 bit per pixel) c++ API
I have already seen that and If I correctly understand, depth can be only from 8 to 32 bit, and what about monochrome(), it looks like grayscale transform, so I need exact answerfmw42 wrote: ↑2017-01-14T22:36:20-07:00 I do not program in C++, but see depth and monochrome at https://www.imagemagick.org/Magick++/Image++.html
- 2017-01-14T22:00:10-07:00
- Forum: Users
- Topic: Binary image (1 bit per pixel) c++ API
- Replies: 6
- Views: 5130
Binary image (1 bit per pixel) c++ API
Is there an opportunity to construct binary (1bit) images and convert other images to this format using c++ api? I coudnt find any information about this.