For questions related to the UIImageJPEGRepresentation method for the UIImage class on the iOS platform, a method commonly used to convert images to JPEG.
Questions tagged [uiimagejpegrepresentation]
91 questions
-1
votes
1 answer
Cropping an image before sending to the server on iOS
I'm trying to crop an image before sending to the server and I'm having issues.
I'm was trying to do this:
imageUploadReq.photo = [self encodeToBase64String:[UIImage imageWithData:UIImageJPEGRepresentation(fileData, 0.07f)]];
But Xcode is…

Paul
- 1,179
- 3
- 14
- 38