Compressing an NSKeyedArchiver file that included UIImageView with loaded image
问题 I have a view with an UIImageView. It was loaded with either jpg or png image format. Says the jpg image version has a data size of 100k. I then used NSKeyedArchiver to save my view to a file. The size of the file is getting about 3MB. If I used the png version of the image, the archived file is still around 3MB. I then used zlib to compress the archived file. But it does not seem to have much effect. Anything I can do to get it back to close as much as possible the 100k area? BTW: If I used