In my iPhone App I am picking image from iPhone Image Library as well from device camera,
and I am displaying that image in imageView.
I am able to store my image into iPhone image Library.
But now I want to store my image in some Directory with specific name, so I can use that image again in my application and also I want to store it in sqlite file.
There is a short writeup of this here: http://iosdevelopertips.com/data-file-management/save-uiimage-object-as-a-png-or-jpeg-file.html
Here is the relevant code stolen directly from that site:
To store it in a SQLite Database you would take the code that makes an NSData object (either
UIImageJPEGRepresentationorUIImagePNGRepresentation) and save them to a BLOB column.