Convert TGS to GIF

Turn TGS images into GIF. A looping GIF with every frame and its timing.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A looping GIF of your Telegram sticker.Every frame and its timing come across, at the animation's own frame rate.

  1. What you get

    A GIF that loops and plays the sticker's frames with their original timing. The animation is drawn at its own size, or at most 1280 pixels on its longer side.

  2. What changes

    GIF holds 256 colors per frame, so colors are reduced to 256 with dithering. Partly transparent edges become fully clear or fully solid, so soft edges look harder than in the sticker.

    Expressions are not run. Values they compute keep their keyframes instead. Fonts the file links from the web are not loaded, so its text takes an installed font. Sound is dropped.

  3. Options and limits

    Set Max width or Max height to shrink a large animation while keeping its shape. Nothing is ever enlarged. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

    Set Grayscale to turn colors into shades of gray, which often makes the file smaller. For more ways to shrink the result, see resize GIF.

    An animation over 60 seconds or 1,200 frames stops with resource_limit.

TGS 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 · TGS

Telegram Animated Sticker

A Telegram animated sticker: a gzipped Lottie animation, 512 pixels square at up to 60 frames per second.

Extensions
.tgs
MIME type
application/x-tgsticker
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 TGS to GIF conversion through the API, for your app or your agent.

terminal
$ cv convert photo.tgs photo.gif
$ cv convert photo.tgs photo.gif

Questions.What people ask about TGS to GIF.

01OF 04

Yes. It is drawn at the animation's own frame rate, and every frame and its timing are kept.

GIF cannot hold partly transparent pixels. Those edges become fully clear or fully solid.

Set Grayscale, which often makes the file smaller. Set Max width or Max height to shrink the picture.

When the animation runs longer than 60 seconds or has more than 1,200 frames.

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