Merge pull request #252 from reidmain/master
decodedImageWithImage: ignores scale and orientation
This commit is contained in:
commit
5f7d288645
|
@ -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