Jump to content

ANI (file format): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m remove period
Line 42: Line 42:
*[https://www.informit.com/articles/article.aspx?p=1189080 Introduce Animated Cursors to Java GUIs, Part 2]
*[https://www.informit.com/articles/article.aspx?p=1189080 Introduce Animated Cursors to Java GUIs, Part 2]
*[https://isc.sans.edu/diary/Windows+Animated+Cursor+Handling+vulnerability+-+CVE-2007-0038/2534 Vulnerability in Windows Animated Cursor Handling]
*[https://isc.sans.edu/diary/Windows+Animated+Cursor+Handling+vulnerability+-+CVE-2007-0038/2534 Vulnerability in Windows Animated Cursor Handling]
*[http://www.gdgsoft.com/anituner/ .Ani Editor]
*[http://www.gdgsoft.com/anituner/ Ani Editor]
*[http://www.rw-designer.com/cursor-maker RealWorld Cursor Editor]
*[http://www.rw-designer.com/cursor-maker RealWorld Cursor Editor]
{{Graphics file formats}}
{{Graphics file formats}}

Revision as of 12:48, 11 November 2023

ANI
Filename extension
.ani
Internet media typeapplication/x-navi-animation
Magic numberACON (4 bytes, ASCII)
Developed byMicrosoft
Type of formatanimated raster image format for mouse cursors

The ANI file format is a graphics file format used for animated mouse cursors on the Microsoft Windows operating system.

The format is based on the Microsoft Resource Interchange File Format, which is used as a container for storing the individual frames (which are standard Windows icons) of the animation.

File structure

Animated cursors contain the following information: (in order of position in the file)

  • Name (optional)
  • Artist information (optional)
  • Default frame rate
  • Sequence information
  • Cursor hotspot
  • Individual frame(s), in ICO format
  • Individual frame rates (optional)

Frame rates are measured in jiffies, with one jiffy equal to 1/60 of a second, or 16.666 ms.

Sequencing

Sequence information present in the file determines the sequence of frames, and allows frames to be played more than once, or in a different order than that in which they appear in the file. For example, if the animation contains three different images numbered 1, 2 and 3, and the sequence is 1-2-3-2-1, (five frames) then only three icons need to be stored in the file, thereby saving storage space.

See also