BMP Formats
LEADTOOLS reads and writes the following BMP formats:
Windows Bitmap (BMP). This is a file format created by Microsoft. Some BMP images are compressed with an RLE-type compression.
OS/2 Bitmap (OS/2 BMP). These are files created on an OS/2 operating system. LEADTOOLS supports both 1.x and 2.x formats.
You can read and write the following bits per pixel, without RLE compression: 1, 4, 8, and 24.
You can read (but not write) the following bits per pixel, with RLE compression: 4, 8.
File constants associated with these file formats are:
Constant |
Read Support |
Write Support |
Description |
FILE_BMP |
1, 4, 8, 16, 24, 32 BPP |
1, 4, 8, 16, 24, 32 BPP |
[6] Windows BMP, with no compression. |
FILE_BMP_RLE |
4, 8 BPP |
4, 8 BPP |
[84] Windows BMP, with RLE compression. |
FILE_OS2 |
1, 4, 8, 24 BPP |
1, 4, 8, 24 BPP |
[14] OS/2 BMP version 1.x. |
FILE_OS2_2 |
1, 4, 8, 24 BPP |
1, 4, 8, 24 BPP |
[74] OS/2 BMP version 2.x. |
Required DLL: LFBMP. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Related Formats: PBM - Portable Bitmap Utilities Format, PCX - PCX Format, WBMP - Wireless Bitmap Format, XPM - XPicMap, XBM - XBitMap Format.
Platforms
Windows 2000 / XP/Vista, Windows CE.