Two-frame label animation
- Input
- A 64×48 GIF with a red frame labeled ONE, a green frame labeled TWO, and frame durations of 120 and 180 ms.
- Output
- A 209 byte PNG showing the red first frame only. It opened as a single-frame palette image.
GIF → PNG turned our two-frame test animation into a single 209 byte PNG containing only the red first frame.
From real runs
| Element | Result | What happens |
|---|---|---|
| First frame | Kept | The red first frame from the test GIF appeared in the PNG output with the same 64×48 dimensions. |
| Later frames | Lost | The green second frame and its timing were absent because the reader seeked to frame zero before writing PNG. |
| Palette | Changed | The output opened as a 4-bit palette PNG, which is compact but no longer a GIF animation container. |
| Timing | Lost | Frame duration and loop information have no role in the single still PNG returned by this conversion. |
| File size | Changed | The simple two-frame 542 byte GIF became a 209 byte PNG after discarding animation frames. |
| Metadata | Lost | The PNG output did not expose GIF duration, loop, or comment-style metadata keys. |
The red first frame from the test GIF appeared in the PNG output with the same 64×48 dimensions.
The green second frame and its timing were absent because the reader seeked to frame zero before writing PNG.
The output opened as a 4-bit palette PNG, which is compact but no longer a GIF animation container.
Frame duration and loop information have no role in the single still PNG returned by this conversion.
The simple two-frame 542 byte GIF became a 209 byte PNG after discarding animation frames.
The PNG output did not expose GIF duration, loop, or comment-style metadata keys.
We converted our GIF sample (16 KB) with Image engine on 2026-10-20. It took 74 ms and produced a 8 KB PNG file, 50% smaller than the input. The engine raised 1 warning, listed below.
Input · sample.gif · 16 KB
1200 × 800 px, GIF87a
Output · sample.png · 8 KB
1200 × 800 px, 8-bit, colour type 3
If a GIF is a screen recording of text, this conversion captures only the first visible frame. Extract the right frame and then use OCR if the text matters.
ImageMagick 7
magick 'in.gif[0]' out.pngThe [0] selector is important if you want the same first-frame behavior instead of many PNG files.
The HTTP API and the MCP server run the exact engine this page uses (Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=gif&to=png.
curl -X POST https://filetypeconverters.com/api/v1/convert \
-H "Authorization: Bearer $FTC_API_KEY" \
-F "file=@input.gif" -F "from=gif" -F "to=png" \
-F 'options={"dpi":96}' \
--output output.png| Key | Applies to | Type | Default |
|---|---|---|---|
| dpi | Reading GIF | number | 96 |
| width | Writing PNG | number | 0 |
| height | Writing PNG | number | 0 |
| fit | Writing PNG | contain · cover · fill | contain |
| quality | Writing PNG | number | 90 |
| background | Writing PNG | string | #ffffff |
| stripMetadata | Writing PNG | boolean | true |
No. The tested route wrote one still PNG from the first frame and discarded later frames.
In our sample, the output was smaller because only one of two frames survived. More complex still frames may not shrink the same way.
Not through this pair's tested API call. Use a frame extraction tool first, then convert that still image if needed.