Re: Getting bits from NSQuickDrawView
Re: Getting bits from NSQuickDrawView
- Subject: Re: Getting bits from NSQuickDrawView
- From: email@hidden (Simon Fraser)
- Date: Tue, 11 Mar 2003 12:09:11 -0800
Josh Anon wrote:
Hi all,
I'm trying to modify the SGDataProc Cocoa example (which uses QT's
SequenceGrabber to decompress video into a view, sadly it's an
NSQuickDrawView). I need to somehow get the bits out of the view so
that I can do some image processing voodoo on it. Unfortunately, if I
try to make the view off screen, I just get random images floating in
the upper-left of my screen. For the more experienced who've worked
with QuickDraw, any suggestion?
I think the best approach here might be to get the sequence
grabber stuff to decompress data into a GWorld, and then get
the pixels from that GWorld. If you want, you can easily
CopyBits that GWorld into an NSQuickDrawView. It saves
messing with the bits of the NSQuickDrawView's port, which
could get messy.
Simon
_______________________________________________
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.