视频转GIF动画的iOS库:NSGIF

jopen 9年前

NSGIF 是一个 iOS 库用于将视频转换成动画 GIF。

How it works

NSGIF That's it really. Although iOS defaults to .MOV for recordings you can also use .AVI and .MP4. If you want to go into some technical details though, here they are:

Add to your project

There are 2 ways you can add NSGIF to your project:

Manual installation

Simply import the 'NSGIF' into your project then import the following in the class you want to use it:

       #import "NSGIF.h"

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like NSGIF in your projects. See the "Getting Started" guide for more information.

Podfile

        platform :ios, '7.0' pod "NSGIF", "~> "1.0"

视频转GIF动画的iOS库:NSGIF

项目主页:http://www.open-open.com/lib/view/home/1441547357885