Now the width and height of my customized camera are 200. When the photo is taken and saved to the album, the size of the image should be the image size previewed in the customized camera. However, when viewing the album, it is found that the full-screen photo is saved. . Later, I tried cropping the image and then saving it. The size problem was solved, but I found that the resolution and system were very different. I now have two problems
1. In terms of resolution, do you have any good solutions?
2. Is there any elegant way to save the image obtained after taking the photo to the album in a customized size?
Saving to the album is nothing more than this method,
UIImageWriteToSavedPhotosAlbum(image,self,@selector(imagedidFinishSavingWithError:contextInfo:), nil);
So the important thing is to get the image object and how to deal with it
The pictures taken are all in PNG format and are already lossless. Confirm that the pictures after taking the pictures are compared with the system to see if it is related to the camera
Confirm that the cropped picture is the original picture
Carefully check the method of cropping the picture, no stretching is done