为什么我的电影从UIImages被扭曲? [英] Why does my movie from UIImages gets distorted?

查看:199
本文介绍了为什么我的电影从UIImages被扭曲?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用



我已阅读这里它与宽高比有关,但是没有解释如何解决它。

解决方案

经过大量不同图像大小的实验,并借助这个文章,我得出结论,图像的宽度必须是16的倍数。


I'm using zoul's solution to export UIImage array as a movie. But my frames all turns out distorted. Here's the original image:

Here's a similar distortion example: http://oi56.tinypic.com/8wkqys.jpg

I've read here that it has something to do with aspect ratio, but there's no explanation on how to fix it.

解决方案

After a lot of experiments with different image sizes, and with the help of this article, I've got to the conclusion that the width of the images must be a multiple of 16.

这篇关于为什么我的电影从UIImages被扭曲?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆