Save UIImage to iPhone camera roll "as it is", RGB values must remain the same! (Swift)

157 views Asked by At

I'm trying to save a UIImage from my App to the iPhone camera roll, but I noticed that when I save the image as JPEG or PNG the RGB values of my pixels are changed. I need to save the UIImage to the iPhone and then I need to import that image back into my App, and I need the new imported image to be EXACTLY the same as the one already in my App (same RGB values!). How can I do that? Is there a way to save my image from the App to the iPhone maintaining the same RGB values?

Thank you in advance for your help!

0

There are 0 answers