OS/2 BMP variant with 16 byte DIB header not recognized

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
jenderek
Posts: 5
Joined: Fri Nov 13, 2015 7:54 pm

OS/2 BMP variant with 16 byte DIB header not recognized

Post by jenderek » 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.

User avatar
xnview
Author of XnView
Posts: 31737
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: OS/2 BMP variant with 16 byte DIB header not recognized

Post by xnview » Thu Jul 04, 2019 8:46 am

could you send me the file?
Pierre.

Post Reply