I need to resize an UIImage and save it on my app file system,
I can resize the image
or just show it with a smaller cgrect for the frame,
but how can i save this newly resized image on my app file sys?
thanks!
I need to resize an UIImage and save it on my app file system,
I can resize the image
or just show it with a smaller cgrect for the frame,
but how can i save this newly resized image on my app file sys?
thanks!
Assuming your image is called image
Forgot to mention, you can change the
to save it somewhere else.
You can first convert the UIImage to NSData by
or
Then write the data to Document or Library folder in your app.