I am saving the image in the camera roll using UIImageWriteToSavedPhotosAlbum, but always get a black thumbnail, even if the picture correct.
Do you have a signal to resolve this?
Thank you in advance for your help.
Regards,
I had the same problem in the image within the UIGraphics image contracts Drawing solves this issue:
CGRact recessed = CGRactam (0,0,100,100); UIImage * image = ((Put your image here)); UIGraphicsBeginImageContext (rect.size); [Image drawinct: rect]; UIImage * Result = UIGraphicsGetImageFromCurrentImageContext (); UIGraphicsEndImageContext (); UIImageWriteToSavedPhotosAlbum (result, self, @selector (image: error saving didFinish: referenceinfo :), zero);
Comments
Post a Comment