此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)
Import/Export 导入/导出 格式

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"] imports a CUR file, returning all cursors stored in the file as a list of Image objects.
  • 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"list of graphics objects
"ImageList"all cursors, given as a list of Image objects
"RGBColorArray"array of RGBColor objects for each cursor
  • Import by default uses the "ImageList" element for CUR files.
"BitDepth"number of bits used to represent each color channel
"ColorSpace"color encoding used in the file
"ImageSize"raster dimensions