Re: Compositing Tricks?
Re: Compositing Tricks?
- Subject: Re: Compositing Tricks?
- From: "John C. Randolph" <email@hidden>
- Date: Sat, 10 Jul 2004 13:47:38 -0700
On Jul 10, 2004, at 11:10 AM, Sean McBride wrote:
Jerry LeVan (email@hidden) on Sat, Jul 10, 2004 13:47 said:
I currently don't do carbon, are there any possiblities with
cocoa and compositing?
I'll assume that wasn't one of those annoying Carbon vs Cocoa
comments. :)
QuickTime is the API on the Mac for such things, I'm not aware of any
other, but if someone else is I'm sure they speak up.
Well, Quicktime is *an* API for such things. There are a few other
ways to do it, such as using OpenGL, or if you want to keep it simple,
just using compositing of NSImages.
Have a look at the Cropped Image sample at
http://developer.apple.com/samplecode/Cropped_Image/Cropped_Image.html
for some ideas about how to select parts of an image using another
image as a mask.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.