I had a problem with image size with my iOS application and I discovered this article finding a solution to optimize image size
After reading, I realized that I do not need to use only PNG or JPEG. In fact, I can use any image format that is not supported by default on the iOS platform. Because if I can get the actual pixels, converting it to UIImage
via CGImage
is a simple job. I can use a special raster image format and a special decoder. For example, there is a method called texture atlas that stores many images in a large raster image and can store additional duplicate buckets.
So, I ask about the smallest (during compression) compression without compression in the format and / or library. If you know a great format or library, I want you to recommend it to me.
It would be nice if it were open source, but I do not mind if it is closed source and a paid solution. I only need awesome image compression, not source code. Of course, it should be used on the iOS platform, so it should offer a decoder that can be used in C, C + or Objective-C. (I do not need an encoder on this platform)
source share