aboutsummaryrefslogtreecommitdiff
path: root/iPhone
diff options
context:
space:
mode:
Diffstat (limited to 'iPhone')
-rw-r--r--iPhone/GTMUIImage+Resize.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/iPhone/GTMUIImage+Resize.m b/iPhone/GTMUIImage+Resize.m
index c22515e..0965c3e 100644
--- a/iPhone/GTMUIImage+Resize.m
+++ b/iPhone/GTMUIImage+Resize.m
@@ -156,7 +156,7 @@ GTM_INLINE CGSize swapWidthAndHeight(CGSize size) {
return nil;
}
- UIGraphicsBeginImageContext(bounds.size);
+ UIGraphicsBeginImageContextWithOptions(bounds.size, NO, self.scale);
CGContextRef context = UIGraphicsGetCurrentContext();
switch (orientation) {