views:

51

answers:

2

Hello everyone,

any one has sample code or know of a tutorial on how to do a digital zoom for an iphone?

or digital zoom in general ?

thank in advanced.

-Amir

+1  A: 

The crudest forms of digital zooms simply scale an image larger and crop to a certain visible region. On the iPhone, you can do this easily by capturing an image from the camera, placing it in a UIImageView, and applying a scaling transform to the view.

Brad Larson
A: 

Consider these Categories for NSImage for ways in which you can zoom and crop an image in Objective-C.

fbrereto