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)
possible bugs in generating older format BMP2 and BMP3
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: possible bugs in generating older format BMP2 and BMP3
Any news on this?
Re: possible bugs in generating older format BMP2 and BMP3
When reading a BMP, ImageMagick does not distinquish what version of BMP its reading. In the Beta release, BMP is identified as Microsoft Windows bitmap image without a version.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: possible bugs in generating older format BMP2 and BMP3
1) Is there any way to verify that a BMP3 or BMP2 file has actually been created apart from specifying BMP3:image.bmp or BMP2:image.bmp when creating it?
2) Is there no viable way to determine what version it is from the header and put that information into the verbose info?
2) Is there no viable way to determine what version it is from the header and put that information into the verbose info?
Re: possible bugs in generating older format BMP2 and BMP3
We can determine the version of the BMP image. We consider supporting BMP versions an enhancement and given the demands on our time lately it may be some time before we implement it.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: possible bugs in generating older format BMP2 and BMP3
OK, I understand. I will look around for some other tool that might be able to identify the format.