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

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 imports a CUR file, returning all cursors stored in the file as a list of Image objects.
  • Import imports the specified element from a CUR file.
  • Import imports multiple elements.
  • 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"list of graphics objects
"HotSpot"pixel coordinates for each cursor's hot spot
"ImageList"all cursors, given as a list of Image objects
"RGBColorArray"array of RGBColor objects for each cursor
  • Import by default uses the element for CUR files.
"BitDepth"number of bits used to represent each color channel
"ColorSpace"color encoding used in the file
"ImageSize"raster dimensions
Import a CUR file:
Get the hotspot coordinates of the first cursor image:
Import a CUR file:
In[1]:=
Click for copyable input
Out[1]=
 
Get the hotspot coordinates of the first cursor image:
In[1]:=
Click for copyable input
Out[1]=