|
|
@@ -116,7 +116,7 @@ static SDWebImageDecoder *sharedInstance;
|
|
|
CGImageRef decompressedImageRef = CGBitmapContextCreateImage(context);
|
|
|
CGContextRelease(context);
|
|
|
|
|
|
- UIImage *decompressedImage = [[UIImage alloc] initWithCGImage:decompressedImageRef scale:image.scale orientation:UIImageOrientationUp];
|
|
|
+ UIImage *decompressedImage = [[UIImage alloc] initWithCGImage:decompressedImageRef scale:image.scale orientation:image.imageOrientation];
|
|
|
CGImageRelease(decompressedImageRef);
|
|
|
return SDWIReturnAutoreleased(decompressedImage);
|
|
|
}
|