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,16, and 24.
You can read (but not write) the following bits per pixel, with RLE compression: 4, 8 and 16.
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, 16, 24 BPP | 1, 4, 8,16, 24 BPP | [14] OS/2 BMP version 1.x. |
FILE_OS2_2 | 1, 4, 8, 16, 24 BPP | 1, 4, 8, 16, 24 BPP | [74] OS/2 BMP version 2.x. |
Required DLLs and Libraries
Related Formats
Win32, x64, Linux.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document