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: 8
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: 32055
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.

jenderek
Posts: 8
Joined: Fri Nov 13, 2015 7:54 pm

example of OS/2 BMP variant with 16 byte DIB header

Post by jenderek » Tue Oct 29, 2019 5:05 pm

example of OS/2 BMP variant with 16 byte DIB header

Hello Pierre,
Sorry i have not see your request for an example in the past.
So now i send an example pal8os2v2-16.bmp in appended archive
pal8os2v2-16.zip.
This example is also mentioned on Wikipedia about BMP file format.
This file is part of Jason Summers BMP test suite found as
archive bmpsuite-2.5.zip on site with URL:
http://entropymine.com/jason/bmpsuite/

The graphic tool IrfanView is able to open such BMP files and is able to
display example correctly.

I hope that this OS/2 variant will be implemented in a future version
of XnView tool.

Thanks
Attachments
pal8os2v2-16.zip
(3.74 KiB) Downloaded 5 times

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

Re: example of OS/2 BMP variant with 16 byte DIB header

Post by xnview » Tue Nov 05, 2019 2:52 pm

ok, this format will be added
Pierre.

Post Reply