We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b05c3 commit ae4ecb1Copy full SHA for ae4ecb1
SDWebImage/SDImageCache.m
@@ -158,7 +158,7 @@ - (void)storeImage:(UIImage *)image imageData:(NSData *)imageData forKey:(NSStri
158
if (image)
159
{
160
#if TARGET_OS_IPHONE
161
- data = UIImageJPEGRepresentation(image, (CGFloat)1.0);
+ data = UIImagePNGRepresentation(image);
162
#else
163
data = [NSBitmapImageRep representationOfImageRepsInArray:image.representations usingType: NSJPEGFileType properties:nil];
164
#endif
0 commit comments