Animated_GIF:用于创建动画GIF的Javascript库

时间:2021-02-24 03:36:53
【文件属性】:
文件名称:Animated_GIF:用于创建动画GIF的Javascript库
文件大小:407KB
文件格式:ZIP
更新时间:2021-02-24 03:36:53
JavaScript Animated_GIF 用于创建动画GIF的Javascript库 如何使用它? 在HTML中包含dist/Animated_GIF.js 。 var imgs = document . querySelectorAll ( 'img' ) ; var ag = new Animated_GIF ( ) ; ag . setSize ( 320 , 240 ) ; for ( var i = 0 ; i < imgs . length ; i ++ ) { ag . addFrame ( imgs [ i ] ) ; } var animatedImage = document . createElement ( 'img' ) ; // This is asynchronous, rendered with WebWorkers ag . getBase64GIF (
【文件预览】:
Animated_GIF-master
----.gitignore(24B)
----images()
--------5663357414_001d1ce705_z.jpg(110KB)
--------4878878197_31de9837ba_z.jpg(152KB)
--------2687824939_6e3690d51d_z.jpg(109KB)
----package.json(1KB)
----src()
--------Animated_GIF.worker.js(4KB)
--------Animated_GIF.js(9KB)
--------lib()
----dist()
--------Animated_GIF.min.js(34KB)
--------Animated_GIF.js(64KB)
----README.md(6KB)
----tests()
--------basic-blob.html(1KB)
--------basic.html(1KB)
--------custom_palette.js(3KB)
--------dithering.html(1KB)
--------dithering.js(2KB)
--------basic.js(3KB)
--------basic-blob.js(3KB)
--------sample_interval.html(1KB)
--------stress.js(2KB)
--------stress.html(713B)
--------custom_palette.html(1KB)
--------sample_interval.js(1KB)
----index.html(1KB)

网友评论