File Formats: BMP Formats (original) (raw)

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 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.

File constants associated with these file formats are:

Constant Read Support Write Support Description
Bmp 1, 4, 8, 16, 24, 32 BPP 1, 4, 8, 16, 24, 32 BPP Windows BMP, with no compression.
Platforms: .NET 4, .NET 6+, Android, iOS/macOS
BmpRle 4, 8 BPP 4, 8 BPP Windows BMP, with RLE compression.
Platforms: .NET 4, .NET Standard
Os2 1, 4, 8, 16, 24 BPP 1, 4, 8, 16, 24 BPP OS/2 BMP version 1.x.
Platforms: .NET 4, .NET Standard
Os22 1, 4, 8, 16, 24 BPP 1, 4, 8, 16, 24 BPP OS/2 BMP version 2.x.
Platforms: .NET 4, .NET Standard

For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application and Leadtools.Codecs.

Related Formats: PBM - Portable Bitmap Utilities Format, PCX - PCX Format, WBMP - Wireless Bitmap Format, XPM - XPicMap, XBM - XBitMap Format.

Platform Support

Extension Module Value Win32 Win64 Net32 Net64 Linux Android Apple UWP MimeType Friendly Name
Bmp BMP 6 image/bmp BMP - Windows Bitmap
BmpRle BMP 84 image/bmp Windows Bitmap - BMP with RLE Compression
Os2 BMP 14 image/bmp OS/2 Bitmap OS/2 - BMP
Os22 BMP 74 image/bmp OS/2 Bitmap - OS/2 BMP

For a complete list for supported file formats, see Summary of All Supported File Formats.

For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.