Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-08-2009, 02:57 PM   #4 (permalink)
paymaster
Registered Member
 
Join Date: Apr 2009
Location: Northern CA
Posts: 152
Default

You are assuming that the orientation of the CCD matches the orientation of the phone. I'm betting that they had to turn it 90 degrees to wedge it in.

Regardless, the return value may not be what you expect, but it isn't wrong. When the phone is held vertically, the bits from the camera image are all rotated to the right, and orientation is set as right. Any rotation of the phone will return the proper bits and orientation in the image.

UIImageVIews take this orientation into account when drawing, so again, everything is consistent.
paymaster is offline   Reply With Quote
 

» Advertisements
» Online Users: 293
20 members and 273 guests
ADY, apatsufas, BdR, Diegan, djohnson, Duncan C, F_Bryant, glenn_sayers, Guthook, Herbie, ilmman, Joseph Nardone, Music Man, Profile, rodgo, TheWebWizz, VikMyr, vogueestylee, yomo710, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,708
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:00 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.