SDWebImageWebPCoder
SDWebImageWebPCoder copied to clipboard
A WebP coder plugin for SDWebImage, use libwebp
Converting a UIImage to the WebP format is extremely slow. For a 2.5-megabyte photo with a compression ratio of 0.85, it takes approximately 13.5 seconds let webpCoder = SDImageWebPCoder.shared var...
### Description When using SDImageWebPCoder to encode images with lossless options, the resulting file size and compression quality appear to be worse compared to Google's **cwebp** command-line tool. Despite both...
# Description My code includes the setting of this limitation: ``` /// Limits scale down to 24MB. SDImageCoderHelper.defaultScaleDownLimitBytes = 24 * 1_024 * 1_024 ``` When I get an animated...