如何在iPhone中以编程方式将PNG图像转换为GIF [英] How to convert PNG image to GIF in iPhone programmatically

查看:161
本文介绍了如何在iPhone中以编程方式将PNG图像转换为GIF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从库中挑选一些图片并将其转换为gif?

How to picker some pictures from the library, and convert them to a gif?

推荐答案

检查这些链接

根据苹果公司

Xcode使用pngcrush自动优化您的PNG图像 SDK附带的实用程序. (您可以在iPhoneOS中找到该程序 /Developer中的平台文件夹.使用命令行从命令行运行它 –iphoneswitch将标准PNG文件转换为iPhone格式 因此),请在您的iPhone应用程序中使用PNG图片,其中 可能是您首选的图像格式.

Xcode automatically optimizes your PNG images using the pngcrush utility shipped with the SDK. (You’ll find the program in the iPhoneOS platform folders in /Developer. Run it from the command line with the –iphoneswitch to convert standard PNG files to iPhone- formatted ones.) For this reason,use PNG images in your iPhone apps where possible as your preferred image format.

更好地使用PNG满足您的图像要求

Better prefer to use PNG's for your image requirements

用于拾取图像:

http://iphone.zcentric.com/2008/08 /28/using-a-uiimagepickercontroller/

用于转化: 希望这会有所帮助

这篇关于如何在iPhone中以编程方式将PNG图像转换为GIF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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