Convert APNG to GIF

Turn APNG images into GIF. Every frame and its timing are kept, and the animation loops endlessly.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop APNG files on the dialor turn it to pick what to do

An animated PNG as a GIF.Every frame and its timing carry over, and the animation loops endlessly.

  1. What you get

    One GIF with every frame of the APNG, shown with the same timing. The animation loops endlessly.

    GIF is limited to 256 colors per frame, so the result is a close match to the original, not an exact copy.

  2. What changes

    Colors are reduced to 256 with dithering. Smooth gradients may show a pattern of dots because of this.

    APNG has partly transparent pixels. GIF does not, so each of those pixels becomes fully clear or fully solid.

  3. Options

    Set Max width or Max height to shrink an image that is larger than the value you give. The shape is kept, and an image that is already smaller stays as it is, so nothing is enlarged.

    Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  4. When it fails

    A file that cannot be parsed stops the conversion with input_corrupted.

APNG and GIF.What each format is, and the options this conversion takes.

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · APNG

Animated PNG

Animated PNG, full-color animation with alpha.

Extensions
.apng
MIME type
image/apng
Kind
Images
To · GIF

GIF

Indexed-color images with simple animation. Limited to 256 colors per frame.

Extensions
.gif
MIME type
image/gif
Kind
Images

In your code.The same APNG to GIF conversion through the API, for your app or your agent.

terminal
$ cv convert photo.apng photo.gif
$ cv convert photo.apng photo.gif

Questions.What people ask about APNG to GIF.

01OF 04

Yes. Every frame and its timing are kept, and the animation loops endlessly.

GIF allows 256 colors per frame, so the colors are reduced and dithered. This can change gradients and fine color detail.

Partly transparent pixels become fully clear or fully solid. Soft edges turn into hard ones.

Yes. GIF to APNG converts it back, but the 256-color reduction is not undone.

More conversions.Other ways in and out of APNG and GIF.