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) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -