Convert TGS to PNG

Turn TGS images into PNG. One frame of the animation with its transparency, the first unless frame_at picks a time, drawn by the Lottie web player at the animation's own size, or at most 1280 pixels on its longer side.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

One still frame of a Telegram sticker.A PNG of one moment from the animation, with its transparency kept.

  1. What you get

    One PNG file. It shows the first frame of the sticker unless you pick another moment. Transparent areas of the sticker stay transparent.

    The frame is drawn at the animation's own size. If the longer side is more than 1280 pixels, the picture is scaled to at most 1280 pixels on that side.

  2. Choosing the moment

    Set Frame at (s) to the second the picture is taken from, from 0 to 86400. If you leave it out, the first frame is used.

  3. What may look different

    Expressions in the file are not run. Values they compute keep their keyframes instead.

    Fonts that the file links from the web are not loaded. Text in the sticker uses an installed font.

    Only one frame is kept, so the movement of the animation is not in the PNG. For other results, see every TGS conversion.

TGS and PNG.What each format is, and the options this conversion takes.

  1. 01 · frame_at

    Frame at (s)

    The second of the video the picture is taken from. The first frame is used when it is left out.

    0 to 86400

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

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

terminal
$ cv convert photo.tgs photo.png
$ cv convert photo.tgs photo.png

Questions.What people ask about TGS to PNG.

01OF 04

The first frame, unless you set Frame at (s). Then it shows the animation at that second.

Yes. The frame is saved with its transparency.

No. The output is one file with one frame.

Fonts that the file links from the web are not loaded. The text uses an installed font instead.

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