On 21 Jul 2009, at 04:05, Graham Cox wrote:
Internally, you have -getPixel:atX:y: which would presumably be the workhorse at the heart of your class.
-getPixel:atX:y: is fine for the odd what-colour-is-this test, but it's the wrong thing to use for any kind of intensive pixel access. For a task such as barcode recognition you would probably want to drop down and access the bits directly yourself.
Of course, that means getting involved with pixel formats... Kind regards, Alastair. -- http://alastairs-place.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com