node.js - Can nodejs generate gif animations from png in batches? Have you ever come across this?
ringa_lee
ringa_lee 2017-05-16 13:22:54
0
1
756

For example, I want to make forty or fifty GIF images at a time. Each GIF has two frames of png source images. Can I realize the function of batching png to generate GIF?

There are online GIF generators on the Internet, but they can only generate a single GIF and cannot generate multiple GIFs in batches, and there is no way to control the speed of GIF.

ringa_lee
ringa_lee

ringa_lee

reply all(1)
黄舟

Isn’t the so-called “batch” written in a program? You can use a ready-made library to produce one in minutes.
Just search on Google and you will find a bunch of them:

  1. https://github.com/pkrumins/n...

  2. https://github.com/eugeneware...

The above two are relatively simple to use, and there is also a more professional graphics library that is more famous on node:

https://github.com/aheckmann/gm

It can easily do the functions you mentioned.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!