tmxrasterizer: Added --frames and --frame-duration arguments by bjorn · Pull Request #3868 · mapeditor/tiled (original) (raw)
These allow exporting animated maps as multiple numbered images, which can be combined into a GIF or other format using another tool.
The --advance-animations parameter stays for compatibility, and determines the time of the first exported frame, whereas --frame-duration determines the time between each frame.
This generally doesn't speed up the process much, since saving the PNGs is often the slowest bit, but it could matter when rendering many frames of huge maps.
In case of rendering a world things are more complicated, so for now the maps are still loaded repeatedly.
bjorn deleted the tmxrasterizer-animation-support branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})