I have a question on how to convert an image with exif data to NSData type. I get the image rather capture an image in camera or get the image from camera roll.
(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
After picking the image, I went here to convert the image with exif to NSData and sent to the sever database. However, I tried many approach but it fails. When I get the picture file in database, it lost all the exit and metadata information of the picture.
So, I want to ask, is there any way to convert an image and keep the exif and metadata in NSData Type?
Thanks all.