Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.1 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.1 KB

UIImage-WebP

Category of UIImage with WebP support

couresty of carsonmcdonald

Usage

  1. copy UIImage+WebP.h and UIImage+WebP.m to your project
  2. add WebP.framework to TARGET->Build Phases->Link Binary With Libraries

WebP.framework

About WebP

from Google WebP Overview Page :

WebP is a new image format that provides lossless and lossy compression for images on the web. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at equivalent SSIM index. WebP supports lossless transparency (also known as alpha channel) with just 22% additional bytes. Transparency is also supported with lossy compression and typically provides 3x smaller file sizes compared to PNG when lossy compression is acceptable for the red/green/blue color channels.