ios - xcode5: how can I save and load an image? -


I am developing an app, where I can apply a filter to an image.
I want to create an undo button which resets the original image in imageView .
The solution is that before I apply any filter, before I save the original image in my original UIImage object. In this way I can just go back to it in my undo mode.

Does someone know how I can do this?

Take a look at the documents here:

You UIImagePNGRepresentation () .

Then read again: imageWithContentsOfFile:

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -