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.
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.
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.
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.
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.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 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 - 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 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
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.
$ cv convert photo.apng photo.gif$ cv convert photo.apng photo.gifQuestions.What people ask about APNG to GIF.
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.