Question

I'm building an iOS app which requires me to allow the users to record a 15sec clip (with UIImagePickerController for example) and then convert it into an animated GIF. How could I achieve this? Is there any library/framework available for such task?

Thanks!

Was it helpful?

Solution

I made a library called Regift for converting movies to gifs on iOS. It's available on Github. Hopefully this helps you :)

If you install it, you can then do

Regift.createGIFFromURL(videoURL, withFrameCount: frameCount, delayTime: delayTime, loopCount: loopCount)

to create a gif.

It's best to check the full documentation, as I'll be keeping that up to date more than this answer.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top