Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding an on-screen image rectangle to a movie



All of the QT code samples use an off-screen graphics world as a secure place to create an image before adding it to a move. My image is merely a rectangle in my application's main window, so I don't think I need to use an off-screen GWorld. Is that correct?

I guess I need to create a pixel map handle for the screen and pass that to CompressImage() and GetMaxCompressionSize() as the first argument and my rectangle as the second argument.

How do make a pix map handle for the screen, or make a handle for a bit map created this way?

   theBitmap = [[NSBitmapImageRep alloc] initWithFocusedViewRect:aRect]

Thanks,

Jeff
_______________________________________________
quicktime-talk mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-talk
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.