This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Mathematica Import/Export Format

CUR (.cur)

Microsoft Windows cursor.
Raster image file format.
Native cursor format on Windows.
CUR is an acronym derived from Cursor.
Binary format.
Can store multiple cursors at different color resolutions.
Supports alpha channels.
Similar to ICO format.
  • Import fully supports the CUR format.
  • Import["file.cur"] returns an expression of the form Graphics[Raster[data], opts], where data is an array of RGB color values.
  • Import["file.cur", elem] imports the specified element from a CUR file.
  • Import["file.cur", {elem, suba, subb, ...}] imports a subelement.
  • Import["file.cur", {{elem1, elem2, ...}}] imports multiple elements.
  • The import format can be specified with Import["file", "CUR"] or Import["file", {"CUR", elem, ...}].
  • See the reference pages for full general information on Import.
"Elements" list of elements and options available in this file
"Rules"full list of rules for each element and option
"Options"list of rules for options, properties, and settings
  • Data representation elements:
"Data"array of color values for each cursor
"GraphicsList"cursors given as a list of graphics objects
"RGBColorArray"array of RGBColor objects for each cursor
  • Import by default uses the "GraphicsList" element for CUR files.
"BitDepth"number of bits used to represent each color channel
"ColorSpace"color encoding used in the file
"ImageSize"raster dimensions