ImageGear v26.3 - Updated
Developer Guide / File Formats and Compressions / File Formats / File Formats Reference / CUR
In This Topic
    CUR
    In This Topic
    Full Name Windows cursor
    Format ID ImGearFormats.CUR
    File Extension(s) *.cur
    Data Type Raster image
    Data Encoding Binary
    Multi-Page Support Yes
    Alpha Channel Support Single alpha channel for read/write (see Comments).
    Metadata Update Support Page

    ImageGear Supported Versions

    Windows 3.x

    ImageGear Supported Features

    • IGFilterFormatFlags.DETECTSUPPORT - autodetection
    • IGFilterFormatFlags.PAGEREADSUPPORT - single page file reading
    • IGFilterFormatFlags.MPAGEREADSUPPORT - multi-page file reading
    • IGFilterFormatFlags.PAGEINSERTSUPPORT - single-page file writing

    ImageGear Read Support

    • ImGearCompressions.NONE:
      • Indexed + Extra: 1+1, 4+1, 8+1 bpp;
      • RGB + Alpha: 32 bpp
    • ImGearCompressions.RLE:
      • Indexed + Extra: 4+1, 8+1 bpp

    ImageGear Write Support

    • ImGearCompressions.NONE:
      • Indexed + Extra: 1+1, 4+1, 8+1 bpp;
      • RGB + Alpha: 32 bpp

    ImageGear Filter Control Parameters

    None

    Comments

    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.

    Files must be 255x255 pixels or less.

    References Used

    A Jorn Daub EDV-Beratung - Glashutter Weg 105 - D-22889 Tangstedt

    fileformats@daubnet.com