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 11-07-2008, 03:29 PM   #19 (permalink)
caldwell_jason
New Member
 
Join Date: Nov 2008
Posts: 1
Default Why is my image rotating

The code works great for me...almost. I am doing something wrong because my image is rotating counterclock-wise.

I am grabbing an image from the camera, running it through this code to resample it to screen resolution, then displaying it. At that point, it is rotated. That was not happening before I started resampling it.

I think it must have something to do with the origin of the CGContext being in the botton left corner. But I've tried several variations on the rect I pass in, all to no avail.

Any thoughts on getting my images back to right-side-up?

Thanks.
caldwell_jason is offline   Reply With Quote
 

» Advertisements
» Online Users: 799
26 members and 773 guests
acegames, ADY, aslyworo, ckgni, dabvid, GFish, GHuebner, ghz.rai, Graham, ilmman, iph_s, joeallenpro, john love, keeshux, kusreekumar, marcelglaeser, MarkC, marto1914, Ndpiparava, nfung, Pandafox, RoryHarvey, tomtom100, VikMyr, waq963
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,869
Threads: 89,225
Posts: 380,693
Top Poster: BrianSlick (7,129)
Welcome to our newest member, aslyworo
Powered by vBadvanced CMPS v3.1.0

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