会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
时不我待
他日若遂凌云志,敢笑黄巢不丈夫。
博客园
首页
新随笔
联系
订阅
管理
2013年3月6日
NSData与UIImage之间的转换
摘要: 1 //NSData转换为UIImage2 NSData *imageData = [NSData dataWithContentsOfFile: imagePath];3 UIImage *image = [UIImage imageWithData: imageData];4 5 //UIImage转换为NSData6 NSData *imageData = UIImagePNGRepresentation(aimae);
阅读全文
posted @ 2013-03-06 21:19 归为虚无
阅读(66772)
评论(0)
推荐(1)
编辑
公告