mechanic icon indicating copy to clipboard operation
mechanic copied to clipboard

Output options

Open bravomartin opened this issue 3 years ago • 1 comments

It would be nice to have output options, so a) the developer can decide what formats it can be exported to and b) users are able to select the export format (if multiple are available)

This is a wishlist of possible formats to export to by type of output. Some are harder to pull off than others, and we may decide not to do some, or make them optional via plugins:

  • static svg svg, png, webp, jpg, gif, pdf (via svg2pdf)
  • static canvas: png, jpg, webp, gif
  • animated webm, gif (via gif-encoder), mp4 (there is ffmpegwasm but it's very large and hacky)

bravomartin avatar Oct 05 '21 20:10 bravomartin

Might also be worth checking out for outputting various video formats: https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API

lucasdinonolte avatar May 08 '22 07:05 lucasdinonolte