ANI to PNG Converter

Add an animated Windows cursor and you get a still PNG of the picture it starts on.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

PNG options here: browser or advanced encoder; RGBA, RGB, grayscale or indexed color; 8- or 16-bit; Fast, Balanced or Maximum compression; interlacing. Which PNG settings are worth changing?

How it works
  1. The .ani opens in your browser
  2. One of its pictures is picked out
  3. That picture is saved as a PNG

What it does

A whole pointer set at once

Got a whole pointer set? Add all its .ani files at once and save the PNGs as one ZIP, each named after the cursor file it came from.

1,000 copies of one animated cursor: 11 s

The sharpest copy

A cursor can hold each picture at several sizes, for different screens. The PNG takes the largest, even when a smaller one is listed first.

PNG from a cursor we built with each picture at 32 and 64 pixels: 64 pixels wide

Colors as drawn

On the soft edge, some pixels come out one shade off in color. Every solid pixel comes through exact.

In one sample cursor: 204 of 4,096 pixels changed

Limits No setting picks which of the cursor's pictures the PNG gets.

What will your animated cursor look like as a PNG?

The .ani decides which of its pictures you get, and it isn't always the first one in the file.

How is an .ani put together?

Animated pointers are fun to collect and oddly hard to show anyone. The one we'll follow here is a 64-pixel Earth that turns while you point with it. Put its .ani file in a web page and nothing appears: the two browsers we tried wouldn't draw it, though both showed its PNG straight away.

To see which picture you'll get, think of a traffic light. Its lamps are built once and fixed in place, red at the top. A timer, which is a separate part, decides which lamp is lit and for how long. An .ani is put together the same way: a few pictures, each stored once, and a separate play list, a short row of steps that each name one picture and how long it stays up.

Converting to PNG is like photographing the light the instant its cycle starts. The photo shows the lamp the timer lights first, wherever that lamp sits. The PNG, likewise, shows the picture named by the play list's first step.

The globe right way up, the white ice at the bottom.

Step 1, 100 ms

The globe on its side, the white ice to the right.

Step 2, 150 ms

The globe upside down, the white ice at the top.

Step 3, 200 ms

The globe right way up again, as in the first step.

Step 4, 300 ms

Only step 1, the upright Earth, goes into the PNG. How we measured · Photo: NASA, Public domain, NASA-created image, via Wikimedia Commons.

To be sure, we rewrote a copy's play list to open on picture 3 and left its pictures stored exactly as they were. Its PNG came out as picture 3, the upside-down Earth of step 3.

Why does the PNG weigh only a third of the .ani?

Because the other pictures don't come along. The Earth keeps each of its pictures inside the .ani as a small PNG of its own, and together they are nearly the whole file. Everything else in it, the play list and its timings included, comes to 116 bytes.

The PNG weighs about as much as one picture stored in the .ani

The two files

.ani 32.6 KB
PNG 11.5 KB

Pictures inside the .ani

1 10.8 KB
2 10.8 KB
3 10.9 KB

File size, KB

The PNG isn't the stored picture copied out byte for byte. Your browser compresses it afresh, so its weight differs a little.

The play list stays behind as well. Picture the traffic light again: a photo shows which lamp was lit, but not how long it stayed lit or what came on next.

One more thing stays in the .ani, and you'd never spot it in any picture. A pointer clicks with a single pixel, called its hotspot, which on an arrow is the tip. A PNG has nowhere to write that position down. For a picture in a post that costs nothing; it matters only if you want a working pointer back.

Saving the Earth as a PNG with FluffyBench

The converter at the top of this page is already set from ANI to PNG, so your file is the only thing to choose.

  1. Press Choose images and pick your .ani.

  2. Press Convert 1 to PNG.

  3. Under the finished picture, two tagged notes list what stayed behind in the .ani. They are expected, not errors.

  4. Press the download arrow on the result card to save the PNG.

    The finished PNG of the Earth with its two notes, and the download arrow outlined.
    The finished PNG of the Earth with its two notes, and the download arrow outlined.

Will the PNG look the way the pointer did on screen?

At its own size, yes, right down to the edge. A pointer has to sit on any background without a box around it, so the Earth fades out over a ring of 1,009 pixels that are partly see-through instead of stopping at a hard line. In the PNG each of them keeps exactly the see-through level it had in the cursor, so the planet will sit on a dark forum theme or a white page the way it does on a Windows desktop.

Its own size is the catch: a pointer-sized picture looks small in a post. Settings has a Size option whose Percentage choice gives the PNG more pixels, and FluffyBench makes up the new ones by blending each with its neighbors. On the Earth, which began as a photo, the result just looks like a bigger photo, and it's what we'd use.

A pointer drawn pixel by pixel is another story. We drew a 32-pixel black arrow with a one-pixel white outline, three colors in all, and enlarged it to four times its size. It came back with 260 colors, and the crisp white line had become a soft gray smear. FluffyBench has no option that enlarges by copying each pixel into a solid block, which is what pixel art needs, so leave a pointer like that at its own size.

How do you keep it moving, or make it a pointer again?

Not with a photo. To keep the whole cycle of a traffic light you'd film it, and two of FluffyBench's converters film the .ani for you.

The Earth should keep turning on your page with its soft edge.

FluffyBench's ANI to APNG converter

An animated PNG plays every step for as long as the play list says and keeps each partly see-through pixel, and the two browsers that wouldn't show the .ani both play it.

The site you post to accepts GIFs and nothing else.

FluffyBench's ANI to GIF converter

The cycle survives, but a GIF pixel is either solid or clear, so the soft edge turns hard.

You'd like a working pointer again, made from the PNG.

FluffyBench's PNG to CUR converter

Its Cursor hotspot setting starts at Center, which is where the Earth's was, at pixel 32, 32. For an arrow, choose Top-left.

Search FluffyBench