Bilevel tif annotate

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Bilevel tif annotate

Post by fmw42 »

magick wrote:We can reproduce the problem. Look for a patch in ImageMagick 6.7.2-3 Beta available by sometime tomorrow. Thanks.
It is not urgent on my part. I was just trying to get to the bottom of the original posters issue and found this issue.


P.S.

With PNG this works, but should this not show a type of bilevelmatte? Furthermore, convert -list type does not list bilevelmatte. This is just a question of consistency, unless there is some reason that it does not show this way.

convert logo: -type bilevel logo_bl.png
convert logo_bl.png -alpha copy logo_bl_alpha.png
identify -verbose logo_bl_alpha.png

Image: logo_bl_alpha.png
Format: PNG (Portable Network Graphics)
Class: DirectClass
Geometry: 640x480+0+0
Resolution: 72x72
Print size: 8.88889x6.66667
Units: Undefined
Type: Bilevel
Base type: Bilevel
Endianess: Undefined
Colorspace: Gray
Depth: 8/1-bit
Channel depth:
gray: 1-bit
alpha: 1-bit
Channel statistics:
Gray:
min: 0 (0)
max: 255 (1)
mean: 222.145 (0.871156)
standard deviation: 85.432 (0.335028)
kurtosis: 2.9092
skewness: -2.21567
Alpha:
min: 0 (0)
max: 255 (1)
mean: 222.145 (0.871156)
standard deviation: 85.432 (0.335028)
kurtosis: 2.9092
skewness: 2.21567

...
Post Reply