OS/2 BMP variant with 16 byte DIB header not recognized
Posted: Sat Jun 29, 2019 12:45 pm
some days ago i handle some OS/2 BMP variant. An example of such a
case is the graphic pal8os2v2-16.bmp of the BMP Suite.
When i run XnView Classic version 2.48 all of these examples are
not displayed and i get an message like
Format of the file <pal8os2v2-16.bmp> could not determined
XnView can open the Microsoft BMP variant and also the OS/2 variant
with 64 byte DIB, but is not able to open that OS/2 bitmap
variant. Surprisingly the Firefox web browser can open such
bitmaps. Also the Windows graphic tool IrfanView can handle such
bitmaps.
The information about this variants is found on Wikipedia page about
BMP format. See https://en.wikipedia.org/wiki/BMP_file_format
According to Wikipedia the DIB header use a format named
OS22XBITMAPHEADER. This format stores only the first 16 byte of the
OS/2 variant with 64 bytes. The remaining 48 bytes are assumed to be
zero values.
I hope that this OS/2 variant will be implemented in a future version
of XnView tool. This should not be so difficult, because the OS/2
variant with 64 byte header is recognized and displayed.
case is the graphic pal8os2v2-16.bmp of the BMP Suite.
When i run XnView Classic version 2.48 all of these examples are
not displayed and i get an message like
Format of the file <pal8os2v2-16.bmp> could not determined
XnView can open the Microsoft BMP variant and also the OS/2 variant
with 64 byte DIB, but is not able to open that OS/2 bitmap
variant. Surprisingly the Firefox web browser can open such
bitmaps. Also the Windows graphic tool IrfanView can handle such
bitmaps.
The information about this variants is found on Wikipedia page about
BMP format. See https://en.wikipedia.org/wiki/BMP_file_format
According to Wikipedia the DIB header use a format named
OS22XBITMAPHEADER. This format stores only the first 16 byte of the
OS/2 variant with 64 bytes. The remaining 48 bytes are assumed to be
zero values.
I hope that this OS/2 variant will be implemented in a future version
of XnView tool. This should not be so difficult, because the OS/2
variant with 64 byte header is recognized and displayed.