Re: Cocoa Graphics Parsing
Re: Cocoa Graphics Parsing
- Subject: Re: Cocoa Graphics Parsing
- From: Alastair Houghton <email@hidden>
- Date: Tue, 21 Jul 2009 14:24:46 +0100
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 (email@hidden)
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:
This email sent to email@hidden