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.

LEADTOOLS supports these file formats as follows:

image\sqrblit.jpg 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 1, 4, 8, 16, 24, and 32-bit, single-page or multi-page files.

image\sqrblit.jpg Windows Cursor (CUR). This is a file format for storing Windows cursors (mouse pointers). LEADTOOLS does not load or save transparency information in these files. The size when you write these images should be exactly 32-by-32 pixels.

You can read and write 1, 4, 8, and 24-bit, single-page or multi-page files.