• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
GIF rotation/orientation with colorAtX:y:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GIF rotation/orientation with colorAtX:y:


  • Subject: GIF rotation/orientation with colorAtX:y:
  • From: Jonathan Gillaspie <email@hidden>
  • Date: Fri, 25 May 2007 10:55:21 -0600


I'm having a problem trying to use NSBitmapImageRep's 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


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
Redstone Software Inc. -- 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


  • Prev by Date: Re: NSString and Hexadecimal numbers
  • Next by Date: Re: NSTreeController bound selection issue
  • Previous by thread: GIF rotation/orientation with colorAtX:y:
  • Next by thread: Command-W
  • Index(es):
    • Date
    • Thread