Fixed bug where decodedImageWithImage: ignored image scale and orientation.
This commit is contained in:
parent
7cd4d8e155
commit
f800a52f1c
|
@ -29,7 +29,7 @@
|
|||
|
||||
CGContextRelease(context);
|
||||
|
||||
UIImage *decompressedImage = [UIImage imageWithCGImage:decompressedImageRef];
|
||||
UIImage *decompressedImage = [UIImage imageWithCGImage:decompressedImageRef scale:image.scale orientation:image.imageOrientation];
|
||||
CGImageRelease(decompressedImageRef);
|
||||
return decompressedImage;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue