Page 2 of 2

Re: Bilevel tif annotate

Posted: 2011-09-05T19:22:25-07:00
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

...