I create an image using the following method by passing the two parameter one is UIImage
object is imagdata and NSString
object is storeImage
JPG: [UIImageJPEGRepresentation(imageData, 1.0) writeToFile:storeImage atomically:YES];
or
PNG: [UIImagePNGRepresentation(imageData) writeToFile:storeImage atomically:YES];
my problem is that, original image size is 2.1 MB after i using the above method the image size is 4.2 MB in simulator.
I don't want to use any compression method and i don't want to loss any quality of image. i want copy the image as it is in given path. in actual size.