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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -