ipad使用AVFoundation捕捉StillImage,图片比率问题
摘要:
AVCaptureSession设置的是AVCaptureSessionPresetPhoto,也就是New iPad摄像头最大分辨率2592*1936.但是capture得到的比率确实1936*2592.这里描述了相同的问题:http://stackoverflow.com/questions/6976213/why-does-capturing-images-with-avfoundation-give-me-480x640-images-when-the-pres我参照http://blog.logichigh.com/2008/06/05/uiimage-fix/得到了解决转换代码如下 阅读全文
posted @ 2012-07-17 10:06 cokecoffe 阅读(1297) 评论(0) 推荐(0) 编辑