victorygc

Is it possible to export an animation as GIF format ? or even a video?
victorygc
  • Posts: 3

Mario

Yes. You can find all export options in the documentation: Export - Spine User Guide
User avatar
Mario

Mario
  • Posts: 3035

victorygc

Hello, thanks for your answer.

I would like to know if it's possible to export the same data format using the runtime libraries. For example: exporting a GIF directly from a function in JavaScript.
victorygc
  • Posts: 3

Mario

You can use something like gif.js https://jnordberg.github.io/gif.js/

Playback your animation using the Spine Runtimes, and each frame, pass the canvas to gif.js to add the current frame to the GIF.
User avatar
Mario

Mario
  • Posts: 3035


Return to Runtimes