Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.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, 09: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-16-2008, 11:46 PM   #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, 11:49 AM   #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


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 23,888
Threads: 38,671
Posts: 169,755
Top Poster: smasher (2,553)
Welcome to our newest member, jackcohen
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:12 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0