How can I differntiate between OS/2 and windows Bitmap file.
Actually I have a Bmpviewer which works well for all versions of Bmp But when I try to open an OS/2 Bmp it starts performing operations without providing any output or error message.
I don't want to support OS/2 Images But want to display proper message for example "This Bmp is not supported".
So I need to differentiate these two types.
Or more specifically-
In file format specfication I have found that in Bmp width and Height of windows bitmap are signed data but in OS/2 these are unsigned.
So now more specifially I want to differentiate signed and Unsigned data types.