0

Can a div element in html created using jquery libraries be converted to a gif file?

We can convert it to an image with the example html2canvas. But can we output a gif with the animations on the element

Riga
  • 24
  • 4
  • 2
    Yes, but MP4 or Webm are better quality outputs than gif. https://stackoverflow.com/questions/50681683/how-to-save-canvas-animation-as-gif-or-webm ... HTMLCanvasElement.captureStream() and MediaRecorder() are native functions while a gif would need to be created as a javascript blob. – Wayne Apr 07 '22 at 02:51

0 Answers0