2015年1月7日

iPhone摄像头设备获取

摘要: 转载自 http://blog.csdn.net/linzhiji/article/details/6730693目的:打开、关闭前置摄像头,绘制图像,并获取摄像头的二进制数据。需要的库AVFoundation.framework 、CoreVideo.framework 、CoreMedia.fr... 阅读全文

posted @ 2015-01-07 10:58 奋进的闹钟 阅读(422) 评论(0) 推荐(0)

iOS中相册-用一个tableView区分照片和video

摘要: [objc] view plaincopyprint?#import"ViewController.h"@interfaceViewController()@property(nonatomic,strong)UITableView*tableView;@property(nonatomic,str... 阅读全文

posted @ 2015-01-07 10:51 奋进的闹钟 阅读(346) 评论(0) 推荐(0)

视频分解图片,图片合成视频

摘要: 转载自: http://blog.csdn.net/ioswyl88219/article/details/18152419 视频视频分解视频合成AVAssetImageGenerato工作当中用到了相关的技术,现在特别记录一下分解视频[objc] view plaincopyprint?//分解... 阅读全文

posted @ 2015-01-07 10:46 奋进的闹钟 阅读(1062) 评论(0) 推荐(0)

获取图片中指定区域图片

摘要: 转载自 http://blog.csdn.net/whf727/article/details/14522635最近在搞直接一个类似于二维码的东西,同样也是需要获取其中某个区域的图片。直接上最为主要的一些代码吧。下面这个是初始化AV部分,这样就可以将图像在view上面展示了。这里简单的阐述一下在这其... 阅读全文

posted @ 2015-01-07 10:40 奋进的闹钟 阅读(1569) 评论(0) 推荐(0)

CALayer alpha mask not working

摘要: 2 down vote favorite3I'm trying to create a simple example of drawing an image to a layer, and then setting that layer's alpha mask. I added the code ... 阅读全文

posted @ 2015-01-07 10:18 奋进的闹钟 阅读(504) 评论(0) 推荐(0)

导航