Image Sent from App 4x LARGER than Camera Roll
I have an app that combines a graphic with a photo from the built-in camera to create a single composite image. I'm using UIImageJPEGRepresentation and setting the dimensions to 600 x 800 for the final image. After saving the image to the camera roll, users have the option of using MailComposer to send it somewhere.
The image saved to the Photos App Camera Roll is:
591 x 800, 106 KB jpg.
Using MailComposer to email the image from within the app:
600 x 800, 438 KB jpg.
It should be the same image! Why is the photo in the camera roll 591 instead of 600? Why is the photo sent from the MailComposer 4x as large?!
I'd really appreciate if someone can shed light on this. I've tried a couple different implementations and get the same result.
|