mapeditor / mapeditor/tiled

Support animated GIF export

Open
#1,433 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

For maps with animated tiles, it would be nice to support exporting to animated GIF format.

Unfortunately, Qt only supports reading animated GIF files, not writing them. But there are other Qt applications that have implemented writing to GIF files using GIFLIB, like Drawpile and QGifer:

https://github.com/drawpile/Drawpile/blob/master/src/libclient/export/gifexporter.cpp
https://github.com/Apkawa/QGifer/blob/master/src/gifcreator.cpp

Feature requested by @oryxdesignlab on Twitter.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced Drawpile src/libclient/export/gifexporter.cpp and QGifer src/gifcreator.cpp implementations, then locate Tiled's map export entry point. Done means maps with animated tiles can be exported as valid animated GIF files, including the required frame handling.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.