Fixed bug where decodedImageWithImage: ignored image scale and orientation.

This commit is contained in:
Reid Main 2012-12-15 17:59:00 -05:00
parent 7cd4d8e155
commit f800a52f1c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}