ImageGear Professional v18.2 > User Guide > File Format Reference > ImageGear Supported File Formats Reference > CUR |
Full Name | Windows cursor |
---|---|
Format ID | IG_FORMAT_CUR = 96 |
File Extension(s) | *.cur |
Data Type | Raster image |
Data Encoding | Binary |
Color Profile Support | No |
ImageGear Multi-Page Support | Yes |
ImageGear Alpha Channel Support | Single alpha channel for read/write (see Comments:). |
ImageGear Platforms Support | WIN32, WIN64, Unix, Unix64, .NET, .NET64, MAC |
Windows 3.x
Filter Control Parameter | Type | Default Value | Available Values | Description |
---|---|---|---|---|
READ_AS_RGBA | Boolean | False | False, True | If True, ImageGear reads CUR format as RGBA (RGB with alpha channel). See Comments for more detail. |
Cursor files consist of a file header (that is repeated several times), info headers, and cursor data. Cursor data contains an XOR mask bitmap and a monochrome AND mask bitmap. Whenever Windows draws a cursor, the AND bitmap is applied to whatever is on the screen. After that, the XOR bitmap is applied.
READ_AS_RGBA control parameter determines how ImageGear reads the 1-bit AND masks. If READ_AS_RGBA is False, ImageGear reads AND mask into "Extra" channel. This mode preserves unchanged pixel values from the file. However, in this mode ImageGear displays only the XOR mask and ignores AND mask (Extra channel) during display, i.e. display is not transparent. If READ_AS_RGBA is True, ImageGear reads CUR files as 32 bpp RGB + Alpha. This allows transparent display.
Files must be 255x255 pixels or less.
© Jorn Daub EDV-Beratung - Glashutter Weg 105 - D-22889 Tangstedt
fileformats@daubnet.com