Revert to custom webp decoding

This commit is contained in:
Ali 2023-10-31 18:19:30 +04:00
parent 2430d2b7bc
commit 58bf113ecf

View File

@ -10,11 +10,6 @@
return nil;
}
UIImage *osImage = [[UIImage alloc] initWithData:imgData scale:1.0];
if (osImage != nil) {
return osImage;
}
int width = 0, height = 0;
if (!WebPGetInfo([imgData bytes], [imgData length], &width, &height)) {
NSMutableDictionary *errorDetail = [NSMutableDictionary dictionary];