Merge pull request #91 from andybee/master
@2x retina support is broken when images pass through UIImage (ForceDecode) addition
This commit is contained in:
commit
e63e925821
|
@ -116,7 +116,7 @@ static SDWebImageDecoder *sharedInstance;
|
|||
CGImageRef decompressedImageRef = CGBitmapContextCreateImage(context);
|
||||
CGContextRelease(context);
|
||||
|
||||
UIImage *decompressedImage = [[UIImage alloc] initWithCGImage:decompressedImageRef];
|
||||
UIImage *decompressedImage = [[UIImage alloc] initWithCGImage:decompressedImageRef scale:image.scale orientation:UIImageOrientationUp];
|
||||
CGImageRelease(decompressedImageRef);
|
||||
return SDWIReturnAutoreleased(decompressedImage);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue