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 02-12-2009, 04:24 PM   #1 (permalink)
rocaz
New Member
 
Join Date: Dec 2008
Posts: 8
Default Editing Images Trying to Save New Image Out In Same Display Orientation

I posted another reply on an alternate thread, but I thought this might be common enough to deserve it's own topical thread. I have edited image data. The image data matches the orientation of that which it got from the Iphone. What this should mean is that the data will display in portrait (like the input image) after I'm done editing. What really happens is that the data displays in landscape. Why? The original data is in fact landscape. Apple has a method to communicate via exif header or internal data to the display classes for rotation.

I believe the whole issue centers on a read only flag under UIImage =>imageOrientation. However I have not figured out how to get this set up for the output UIImage. It would seem like a huge waste of processing time to require an actual data rotation when apple obviously doesn't do this. I would think there should be a way to set this up...maybe in the coregraphics layer when I'm actually editing the pixels.....
rocaz is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,722
Threads: 89,181
Posts: 380,503
Top Poster: BrianSlick (7,124)
Welcome to our newest member, idny99
Powered by vBadvanced CMPS v3.1.0

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