Icons and Cursors (ICO and CUR) - Raster imaging C++ Class Library Help

Icons and Cursors (ICO and CUR)

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.

The file constants associated with these file formats are:


Read Support

Write Support


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 DLL: LFBMP and LFPNG. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Related Formats: ANI - Windows Animated Cursor, CLP - Microsoft Windows Clipboard Format.


Win32, x64.

Help Version 20.0.2018.6.22
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help