possible bugs in generating older format BMP2 and BMP3
Posted: 2010-04-15T19:02:34-07:00
IM 6.6.1-3 Q16 Mac OSX Tiger
I am trying to convert this BMP file to BMP3 and BMP2 format. But identify still says they are Format: BMP (Microsoft Windows bitmap image (V5)) rather than V2 and V3
Input (alpha channel removed):
identify -verbose 1003614_aoff.bmp
Image: 1003614_aoff.bmp
Format: BMP (Microsoft Windows bitmap image (V5))
Class: DirectClass
Geometry: 350x400+0+0
Resolution: 28.34x28.34
Print size: 12.35x14.1143
Units: PixelsPerCentimeter
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 255 (1)
mean: 221.413 (0.868287)
standard deviation: 72.9199 (0.28596)
kurtosis: 3.66989
skewness: -2.27697
Green:
min: 0 (0)
max: 255 (1)
mean: 218.872 (0.85832)
standard deviation: 67.594 (0.265075)
kurtosis: 1.9272
skewness: -1.78172
Blue:
min: 0 (0)
max: 255 (1)
mean: 198.046 (0.776651)
standard deviation: 94.4182 (0.370268)
kurtosis: -0.401499
skewness: -1.19984
I have tried the following:
convert 1003614_aoff.bmp BMP3:1003614_bmp3.bmp
convert 1003614_aoff.bmp BMP2:1003614_bmp2.bmp
and
convert 1003614_aoff.bmp -depth 8 ppm:- | convert - BMP3:1003614_bmp3b.bmp
But identify -verbose still shows:
Format: BMP (Microsoft Windows bitmap image (V5))
How can I tell if they are really in BMP3 and BMP2 format?
When I do
convert -list format
I get:
BMP* BMP rw- Microsoft Windows bitmap image (V5)
BMP2* BMP -w- Microsoft Windows bitmap image (V2)
BMP3* BMP -w- Microsoft Windows bitmap image (V3)
I am trying to convert this BMP file to BMP3 and BMP2 format. But identify still says they are Format: BMP (Microsoft Windows bitmap image (V5)) rather than V2 and V3
Input (alpha channel removed):
identify -verbose 1003614_aoff.bmp
Image: 1003614_aoff.bmp
Format: BMP (Microsoft Windows bitmap image (V5))
Class: DirectClass
Geometry: 350x400+0+0
Resolution: 28.34x28.34
Print size: 12.35x14.1143
Units: PixelsPerCentimeter
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 255 (1)
mean: 221.413 (0.868287)
standard deviation: 72.9199 (0.28596)
kurtosis: 3.66989
skewness: -2.27697
Green:
min: 0 (0)
max: 255 (1)
mean: 218.872 (0.85832)
standard deviation: 67.594 (0.265075)
kurtosis: 1.9272
skewness: -1.78172
Blue:
min: 0 (0)
max: 255 (1)
mean: 198.046 (0.776651)
standard deviation: 94.4182 (0.370268)
kurtosis: -0.401499
skewness: -1.19984
I have tried the following:
convert 1003614_aoff.bmp BMP3:1003614_bmp3.bmp
convert 1003614_aoff.bmp BMP2:1003614_bmp2.bmp
and
convert 1003614_aoff.bmp -depth 8 ppm:- | convert - BMP3:1003614_bmp3b.bmp
But identify -verbose still shows:
Format: BMP (Microsoft Windows bitmap image (V5))
How can I tell if they are really in BMP3 and BMP2 format?
When I do
convert -list format
I get:
BMP* BMP rw- Microsoft Windows bitmap image (V5)
BMP2* BMP -w- Microsoft Windows bitmap image (V2)
BMP3* BMP -w- Microsoft Windows bitmap image (V3)