jnordberg / gif.js

JavaScript GIF encoding library
http://jnordberg.github.io/gif.js/
MIT License
4.74k stars 668 forks source link

Is there a way to convert css animation into gif? #138

Open DaniEzzeddine opened 2 years ago

1j01 commented 2 years ago

You can try using html2canvas. It might not support all the CSS properties you want, or may not work with CSS animation, I don't know. You can check supported CSS properties here: https://html2canvas.hertzen.com/features/

dafengxiang commented 2 years ago

When using html2canvas to intercept CSS animation, only the first screen animation position can be intercepted. It is recommended to use the animejs library to realize animation

qq15725 commented 1 year ago

👀 try https://github.com/qq15725/dom-vcr