NSBitmapImageRep orientation?

2008-12-12 Thread Jean-Nicolas Jolivet
I'm re-sizing some NSBitmapImage reps (mostly JPGs or RAW, both full- size images straight from a digital camera)... I'm working almost exclusively with NSBitmapImageRep (using [NSGraphicsContext graphicsContextWithBitmapImageRep:] when drawing etc..) With some images( the ones I took

Re: NSBitmapImageRep orientation?

2008-12-12 Thread Ken Ferry
Hi Jean-Nicolas, Could you send me one of these auto-rotated images? NSBitmapImageRep does not do any automatic orientation correction in 10.5. Is it possible that your Canon camera is writing out an already-rotated file in orientation 1? If ImageIO is doing automatic orientation correction

Re: NSBitmapImageRep orientation?

2008-12-12 Thread Ken Ferry
On Fri, Dec 12, 2008 at 2:32 PM, Jean-Nicolas Jolivet silver...@videotron.ca wrote: Hi there! After some more tests (i.e. with sample canon images that I downloaded) it doesn't seem to be a problem... so basically the problem only occurs with one set of pictures that I have on my HD... I

Re: NSBitmapImageRep orientation?

2008-12-12 Thread Jean-Nicolas Jolivet
Thanks a lot for the clarification!! Oh BTW, just for giggles: If the image was rotated before, I'm pretty sure it was with Windows Picture Fax Viewer! :) Jean-Nicolas Jolivet On 12-Dec-08, at 6:43 PM, Ken Ferry wrote: On Fri, Dec 12, 2008 at 2:32 PM, Jean-Nicolas Jolivet