WebP-UIImage:用于在 iOS 中处理 WebP 图像文件的 UIImage 类别

时间:2021-07-08 09:04:57
【文件属性】:
文件名称:WebP-UIImage:用于在 iOS 中处理 WebP 图像文件的 UIImage 类别
文件大小:1.66MB
文件格式:ZIP
更新时间:2021-07-08 09:04:57
C WebP-UIImage 用于在 iOS 中处理WebP图像文件的UIImage类别。 安装 将Classes文件夹和WebP.framework到您的项目中。 用法 开始使用WebP-UIImage很简单。 导入框架#import "UIImage+WebP.h"并调用以下方法: - ( NSData *)dataWebPWithQuality:( float )quality; // quality = 0..100 + (UIImage*)imageWithWebPAtPath:( NSString *)filePath; + (UIImage *)imageWithWebPData:( NSData *)imgData; @property (nonatomic, readonly) NSData *dataWebPLossless; - ( BOOL )writeWebPTo
【文件预览】:
WebP-UIImage-master
----Classes()
--------ImageToWebPDataTransformer.m(705B)
--------UIImage+WebP.h(713B)
--------UIImage+WebP.m(5KB)
--------ImageToWebPDataTransformer.h(241B)
----iOS WebP Alpha Example()
--------NEViewController.m(1KB)
--------en.lproj()
--------main.m(357B)
--------layer0.webp(50KB)
--------WebP-UIImage Example-Prefix.pch(343B)
--------background0.webp(598KB)
--------NEAppDelegate.h(304B)
--------Default-568h@2x.png(18KB)
--------WebP-UIImage Example-Info.plist(2KB)
--------NEAppDelegate.m(420B)
--------Default.png(6KB)
--------Default@2x.png(16KB)
--------NEViewController.h(461B)
----WebP.framework()
--------Headers()
--------WebP(2.49MB)
----Podfile(34B)
----LICENSE(1KB)
----README.md(1KB)
----.gitignore(232B)
----WebP-UIImage Example.xcodeproj()
--------project.pbxproj(17KB)

网友评论