Open moxiaobei2 opened 6 years ago
These two things are generally unrelated. You can look up elsewhere for sharing GIFs to WeChat. There's an answered question here on how to share from iOS, and an unanswered question here for Android.
Unless WeChat has a web-based API, you probably want a different language based library for encoding GIFs, or, to be honest it's not clear you're sure you would need a GIF encoder, vs just sharing existing GIFs.
const gif = new GIF({
workerScript: URL.createObjectURL(blob),
workers: 2,
repeat: -1 // WeChat preview is looping, webpage playing once.
})
in common project ,to make a gif is the job of services,how can i use to make a gif in wechat?