I’ve mentioned some tools and libraries for reducing the size of images in your app such as the Wasted tool that optimizes images within a bundle, and a tool and library providing support for a custom format combining the benefits of a JPG with a PNG file.
Another way to save on image size is to use the .webp format from Google which can provide significant image size reduction, and is supported by web browsers, but is not natively supported within the iOS SDK.
Here’s an open source library from Matt Thompson that provides suppport for using .webp images called WebPImageSerialization.
WebPImageSerialization uses method swizzling to allow you to use the webp image format just as if it were any other format native image format along with methods allowing you to serialize and deserialize .webp data.
You can find WebPImageSerialization on Github here.
An easy way to support the .webp image format.
- Open Source: Easy Base64 Encode/Decode And AES 256 Encryption Library
- Handy UIImage Category Allowing For Easy Image Blurring, Colored Image Creation And Screenshots
- iOS Library For Easily Creating Layered Photoshop-Readable PSD Files From A Set Of Images
- Fully Objective-C Port Of Open Source Barcode Scanner/Creator ZXing
- UIImage Category Allowing You To Easily Apply A Blur Effect To A Specific Area Of An Image
Original article: Library Adding Support For The .Webp Image Format To UIImage And Convenient Encoding/Decoding Methods
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




