⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ani.htm

📁 各种文件格式说明及程序描述
💻 HTM
字号:
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>windows95 animated cursor file format</title>
<meta name="generator" content="microsoft frontpage 3.0">
</head>

<body background="../jpg/di1.JPG">

<p align="center"><font size="5" color="#0000ff">windows95 animated cursor file format</font></p>
<div align="center"><center>

<table border="0" width="88%">
<tr>
<td width="100%"><br>
ani (windows95 animated cursor file format)<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
this is a paraphrase of the format. it is essetially just a riff file =<br>
with extensions... (view this monospaced)<br>
this info basically comes from the mmdk (multimedia devkit). i don't =<br>
have it in front of me, so i'm going backwards from a vb program i wrote =<br>
to decode .ani files.<br>
<br>
&quot;riff&quot; {length of file}<br>
&quot;acon&quot;<br>
&quot;list&quot; {length of list}<br>
&quot;inam&quot; {length of title} {data}<br>
&quot;iart&quot; {length of author} {data}<br>
&quot;fram&quot;<br>
&quot;icon&quot; {length of icon} {data} ; 1st in list<br>
...<br>
&quot;icon&quot; {length of icon} {data} ; last in list (1 to cframes)<br>
&quot;anih&quot; {length of ani header (36 bytes)} {data} ; (see ani header typedef )<br>
&quot;rate&quot; {length of rate block} {data} ; ea. rate is a long (length is 1 to
csteps)<br>
&quot;seq &quot; {length of sequence block} {data} ; ea. seq is a long (length is 1 to
csteps)<br>
<br>
-end-<br>
<br>
- any of the blocks (&quot;acon&quot;, &quot;anih&quot;, &quot;rate&quot;, or &quot;seq
&quot;) can appear in any <br>
order. i've never seen &quot;rate&quot; or &quot;seq &quot; appear before
&quot;anih&quot;, though. you<br>
need the csteps value from &quot;anih&quot; to read &quot;rate&quot; and &quot;seq &quot;.
the order i <br>
usually see the frames is: &quot;riff&quot;, &quot;acon&quot;, &quot;list&quot;,
&quot;inam&quot;, &quot;iart&quot;, &quot;anih&quot;,<br>
&quot;rate&quot;, &quot;seq &quot;, &quot;list&quot;, &quot;icon&quot;. you can see the
&quot;list&quot; tag is repeated and<br>
the &quot;icon&quot; tag is repeated once for every embedded icon. the data pulled <br>
from the &quot;icon&quot; tag is always in the standard 766-byte .ico file format.<br>
<br>
- all {length of...} are 4byte dwords.<br>
<br>
- ani header typedef:<br>
<br>
struct taganiheader {<br>
dword cbsizeof; // num bytes in aniheader (36 bytes)<br>
dword cframes; // number of unique icons in this cursor<br>
dword csteps; // number of blits before the animation cycles<br>
dword cx, cy; // reserved, must be zero.<br>
dword cbitcount, cplanes; // reserved, must be zero.<br>
dword jifrate; // default jiffies (1/60th of a second) if rate chunk not present.<br>
dword flags; // animation flag (see af_ constants)<br>
} aniheader;<br>
<br>
#define af_icon =3d 0x0001l // windows format icon/cursor animation<br>
<br>
<br>
r. james houghtaling&#26;</td>
</tr>
</table>
</center></div>
<p align="center"><a href="../index.htm">返回</a></p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -