視頻轉GIF動畫的iOS庫:NSGIF

jopen 9年前發布 | 16K 次閱讀 NSGIF iOS開發 移動開發

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.baiduhome.net/lib/view/home/1441547357885

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!