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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-16-2008, 10:28 PM   #1 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 23
Default Image Orientation Different?

Hi,

I have been trying to load up images in a custom view class that inherits from UIView. It mostly involves converting between UIImage and CGImage and using Quartz function to draw them. This has been working fine in the simulator, until I ran the code on the iphone and try to load up images from the photo library. All the images from the photo library are loaded rotated 90 degrees. However, the same image display code works fine for images loaded from the web....

Any ideas? Am I supposed to write code to figure out if the images are from the photo library, and display them differently? or is there some automatic way to handling this?

Thanks
EricCartman is offline   Reply With Quote
Old 09-17-2008, 12:46 AM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Posts: 802
Default

You will have to rotate them.
scottiphone is offline   Reply With Quote
Old 09-17-2008, 12:49 PM   #3 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 23
Default

I see. Thanks!
EricCartman is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,475
Threads: 89,090
Posts: 380,122
Top Poster: BrianSlick (7,091)
Welcome to our newest member, drg4cen
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:01 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0