views:

391

answers:

3

To understand my needs, please read followings.

  • user taps on a button.
  • a uiimage picker view controller displays
  • user selects an image
  • a thumbnail view of selected image should be saved in my application. ( like ui picker view has after selecting albums, there is thumbnail view )

Up to three points I can do.

But I don't know about creating thumbnail view of selected image.

Thanks in advance for your kind suggestions.

+3  A: 

Undocumented UIImage resizing.

Alex Reynolds
+3  A: 

Make a small bitmap the size of your thumbnail. Draw your picture into it. Take the bitmap and turn it into a UIImage and save it.

Here is an implementation:

http://stackoverflow.com/questions/1436465/

mahboudz
+2  A: 

http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/

This is a fantastic read for image manipulation.

Regmee