Taking Image:
I'm taking the image using the code in this question: Scaling UIImage with a UIIImagePicker's CGAffineTransform and Saving to Parse SDK
Convert UIImage to NSData & Save
_imageData = UIImageJPEGRepresentation(_image, .1);
PFFile *imageFile = [PFFile fileWithName:@"image.png" data:_imageData];
newMessage[@"image"] = imageFile;
Problem:
When I redownload the data, the UIImage appears squished. When I look at the image on my database, it seems like the height and width are reversed. Not sure why this is happening...