xamarin/Xamarin.Mobile — pull request #31 by orand (2014-05-29 01:30:06+00:00)
Title: Use original image instead of re-encoding as max quality JPEG

MediaPicker was using UIImage.AsJPEG() to save the image picked from the camera roll. This re-encodes the image with maximum JPEG quality, resulting in an approximate doubling of the file size and loss of the original EXIF data.

This PR makes an exact copy of the original file from the asset library unless an edited version of the image exists, in which case it still uses UIImage.AsJPEG() since that is the only way to get the edited version of the image data.

I have tested and confirmed that this fix preserves the original file size and EXIF data for unedited images.