文章来源:淘论文网   发布者: 毕业设计   浏览量: 55



还可以点击去查询以下关键词:
[视频]    [模仿]    [相册]    [截取]    [定制]    [任意]    [一帧]    [生成]    [图片]    [作为]    [封面]    [模仿iOS视频相册可截取视频定制任意一帧生成图片作为视频封面]   

项目介绍:

KeyframePicker

模仿iOS视频相册可截取视频任意一帧生成图片作为视频封面

https://github.com/zzltjnh/KeyframePicker

Keyframe image generateor and picker from a video like iPhone photo library written in Swift.

Example

To run the example project, clone the repo, open KeyframePicker.xcworkspace from root directory.

Requirements

iOS 8.0+

Xcode 8.0

Swift 3.0

Installation

KeyframePicker is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'KeyframePicker' Usageimport KeyframePicker//create let keyframePicker = KeyframePickerViewController.create() // set `asset` if your video from photolibrary or camera // set `videoPath` if your video from sand box or remote keyframePicker.asset = yourAvAsset // set handler keyframePicker.generatedKeyframeImageHandler = { [weak self] image in if let image = image { print('generate image success') //do something with image } else { print('generate image failed') } } // show navigationController?.pushViewController(keyframePicker, animated: true)Author

Zhilong Zhang,Tianjin China, zzltjnh@gmail.com

License

KeyframePicker is available under the MIT license. See the LICENSE file for more info.

开题报告开题报告


这里还有:


还可以点击去查询:
[视频]    [模仿]    [相册]    [截取]    [定制]    [任意]    [一帧]    [生成]    [图片]    [作为]    [封面]    [模仿iOS视频相册可截取视频定制任意一帧生成图片作为视频封面]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8644.docx
  • 上一篇:一行代码检测App更新,无需AppId等任何信息
  • 下一篇:一句代码实现定制炫酷的渐变效果