IOS – Camera+ DV high res pictures

applicationscameragraphicsiosipod-touch

I bought the Camera+ app for my iPodTouch yesterday because it was on sale and because I thought that it could be used to get images with as high a resolution as when using the video feature of the device.

Is this possible, or have I been sorely mis-informed and thus ripped off another 99 cents for an app? 🙂

I noticed there's a setting under Quality that says that setting it to Optimized which reads: "Photos are saved with a maximum size of 1200×1200 for faster sharing and saving" which is what made me wonder…

P.S. Please tag this with "resolution" and Camera+ as well. Thanks!

Best Answer

Warning: high geekery follows.

When the UIPhotoPicker control (which manages still/video capture from the camera as well as selection of images from the image library) returns a camera image to the app that launched it, the image is at native resolution of the camera, which is Very Very Big. 5 megapixels at 2592 x 1936.

An image object takes up space in the app's memory allocation, obviously. The amount it takes up is 4 bytes per pixel (r, g, b, and alpha). So an image at full resolution takes up 2592 x 1936 x 4 pixels: almost 20 megabytes. On a device that starts to complain if you take up (on the latest, beefiest version of the hardware) more than 30 or 40 mb.

So the solution to that that most developers employ is to immediately scale the image down to something manageable, memory-wise, pretty much immediately on capture. An app that promised full resolution images would need to do nearly nothing else. It was only in the last couple versions of the hardware that we didn't have to dump a whole bunch of stuff from memory before going for a camera image.