且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在文档目录中将UIImage保存为BMP文件

更新时间:2021-12-09 21:33:32

您不能只保存添加特定标题和调色板所必需的数据. 看一下文件格式: http://en.wikipedia.org/wiki/BMP_file_format

you can't just save the data you have to add a specific header and the palette. Take a look at the file format: http://en.wikipedia.org/wiki/BMP_file_format