sagarkothari
sagarkothari

Reputation: 24820

Generating smaller previews of selected images from image picker controller

Here is what I am planning:

Up to three points I can do. But I don't know about creating thumbnail view of selected image.

Upvotes: 0

Views: 1039

Answers (3)

danfelabs
danfelabs

Reputation: 1893

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

This is a fantastic read for image manipulation.

Upvotes: 2

mahboudz
mahboudz

Reputation: 39376

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:

iPhone - Multiple CGBitmapContextCreateImage Calls - ObjectAlloc climbing

Upvotes: 3

Alex Reynolds
Alex Reynolds

Reputation: 96974

Undocumented UIImage resizing.

Upvotes: 3

Related Questions