Your best bet is probably to scale the image to the ratio of the printed image, so you can see it all on the page.
There are several ways to do this, so I’ll just tell you how to do it. I support a class called ANImageBitmapRep , which has several different types of image scaling. The type of zoom you want preserves the whole image, but centers it inside a rectangle of a certain size. First, you must add the ANImageBitmapRep source files to your project, and #import ANImageBitmapRep.h:
#import "ANImageBitmapRep.h"
Then scale the image as follows:
pic.printingItem = [[UIImage imageWithContentsOfFile:path] imageFittingFrame:CGSizeMake(478, 640)];
You can change CGSizeMake(x, y)
to whatever you want to adjust the scale and resolution of the scaled image.
source share