A lot of people have been asking for this on #iphonedev, so here’s a snippet for making a thumbnail of a CGImage.

Link