GIF rotation/orientation with colorAtX:y:
GIF rotation/orientation with colorAtX:y:
- Subject: GIF rotation/orientation with colorAtX:y:
- From: Jonathan Gillaspie <email@hidden>
- Date: Tue, 22 May 2007 10:19:19 -0600
I'm having a problem trying to use colorAtX:y:,
It's working mostly for all files that I would expect
NSBitmapImageRep to read but if I load certain GIF images and use
that method my data comes out incorrectly.
The NSBitmapImageRep correctly reports the image size, but with one
image the image data obtained by using the colorAt method is rotated
90". In another the data is rotated 90" _AND_ mirrored, in other GIF
images it's just fine.
Since a picture is worth a thousand words, here are the images and
small screenshots that illustrate what I'm talking about:
http://www.redstonesoftware.com/support/ColorAtProblem.zip
Any ideas? I'm looking for a flag that indicates orientation that I
should be paying attention to but I don't see it anywhere.
--
Jonathan Gillaspie
http://www.redstonesoftware.com
Makers of Platform Independent Automation Software
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden