1-bit bw pict file convert to jpeg
Posted: 2008-02-12T09:04:38-07:00
Water_lilies.pct is 1bpp pict file
http://bananas.at.tut.by/Water_lilies.pct
D:\Projects\fs\volume1\19292\1>identify -verbose Water_lilies.pct
Image: Water_lilies.pct
Format: PICT (Apple Macintosh QuickDraw/PICT)
Class: DirectClass
Geometry: 800x600+0+0
Type: Bilevel
Endianess: Undefined
Colorspace: Gray
Depth: 1-bit
Channel depth:
Gray: 1-bit
Channel statistics:
Gray:
Min: 1 (1)
Max: 1 (1)
Mean: 1 (1)
Standard deviation: 0 (0)
Histogram:
480000: (255,255,255) #FFFFFF white
Rendering intent: Undefined
Resolution: 72x72
Units: Undefined
Filesize: 37.7813kb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 800x600+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Signature: 6d3f971515352d9e26114fb1cc5a87d6832b76f775e0683e3e504abc2dd9da6f
Profile-iptc: 18 bytes
Tainted: False
User time: 0.125u
Elapsed time: 0:01
Pixels per second: 3.66208mb
Version: ImageMagick 6.3.6 11/02/07 Q8 http://www.imagemagick.org
convert Water_lilies.pct Water_lilies.jpeg
creates white empty image. IM takes black as transparent color and convert it to white, so the whole image became white.
does Water_lilies.pct have transparency? or is this a bug?
http://bananas.at.tut.by/Water_lilies.pct
D:\Projects\fs\volume1\19292\1>identify -verbose Water_lilies.pct
Image: Water_lilies.pct
Format: PICT (Apple Macintosh QuickDraw/PICT)
Class: DirectClass
Geometry: 800x600+0+0
Type: Bilevel
Endianess: Undefined
Colorspace: Gray
Depth: 1-bit
Channel depth:
Gray: 1-bit
Channel statistics:
Gray:
Min: 1 (1)
Max: 1 (1)
Mean: 1 (1)
Standard deviation: 0 (0)
Histogram:
480000: (255,255,255) #FFFFFF white
Rendering intent: Undefined
Resolution: 72x72
Units: Undefined
Filesize: 37.7813kb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 800x600+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Signature: 6d3f971515352d9e26114fb1cc5a87d6832b76f775e0683e3e504abc2dd9da6f
Profile-iptc: 18 bytes
Tainted: False
User time: 0.125u
Elapsed time: 0:01
Pixels per second: 3.66208mb
Version: ImageMagick 6.3.6 11/02/07 Q8 http://www.imagemagick.org
convert Water_lilies.pct Water_lilies.jpeg
creates white empty image. IM takes black as transparent color and convert it to white, so the whole image became white.
does Water_lilies.pct have transparency? or is this a bug?