Re: Image processing in Cocoa
Re: Image processing in Cocoa
- Subject: Re: Image processing in Cocoa
- From: David Duncan <email@hidden>
- Date: Thu, 25 Sep 2008 10:31:11 -0700
On Sep 25, 2008, at 3:52 AM, Christian Giordano wrote:
I think I found what to do. I need to create a bitmap context from the
bitmap and drawing there. It makes sense that everything drawn is
handled by contexts of course, I'm just a bit concerned about
performances.
Internally NSImage will basically do the same thing - create a
CGContext to draw the other content into it. The performance shouldn't
be an issue in the vast majority of use cases. I'm not convinced that
alternatives would actually create a significant speed up, and the
additional code required to make it work universally would likely make
any of those cases less optimal than what the OS already provides.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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