LEADTOOLS reads and writes Windows Icon and Cursor files. LEADTOOLS is not designed as an icon editor, but this file support lets you create a bitmap from an icon or cursor, or create an icon or cursor from a bitmap. The library (DLL) to support these formats is the same as for BMP files.
Windows Icon (ICO). This is a multipage file format for storing one or more Windows icons. The background color when you read these images is always black. The size when you write these images can be no larger than 255-by-255 pixels. (Neither the width nor height can be greater than 255.) You can read and write 16-bit, single-page, or multipage files.
Windows PNG Icon (ICO). This is a multipage file format with PNG compression scheme, which reduces the size and maintains the quality of an image. It is a new icon format that came with Microsoft Windows Vista. You can use size up to 256x256 pixels. It also supports 32 bits with alpha channel.
Windows Cursor (CUR). This is a file format for storing Windows cursors (mouse pointers). LEADTOOLS loads or saves transparency information using the region. The size when you write these images should be exactly 32-by-32 pixels. LEAD supports loading and saving multipage files in this format.
The file constants associated with these file formats are:
Constant | Read Support | Write Support | Description |
---|---|---|---|
FILE_WIN_ICO | 1, 4, 8, 24 BPP | 1, 4, 8, 24 BPP | [91] Windows Icon. |
FILE_PNG_ICO | 1, 4, 8, 24, 32 BPP | 1, 4, 8, 24, 32 BPP | [321] Windows PNG Icon. |
FILE_WIN_CUR | 1, 4, 8, 24 BPP | 1, 4, 8, 24 BPP | [92] Windows Cursor. |
Required DLLs and Libraries
Related Formats
Win32, x64.
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