Hi,
I am building on 10.4 and I would like to get a preview of a Quartz
Composition. The API snapshotImage works only on Leopard. So I have tried
unsuccessfully to lockFocus drawRect and unlockFocus then save the
TIFFRepresentation, which results in an empty image.
The line pdfData = [oQCView dataWithPDFInsideRect:[oQCView bounds]];
returns a white image.

Any idea? Should I work with the QCRenderer?

Also, I have found pauseRendering and resumeRendering working on Leopard
only too. So how to perform this actions on Tiger? The API stopRendering
erases the QCView.

My target is (on Tiger): I have a text list of QC files with their icons. I
click on a row of the list and I see a static preview of the first frame of
the QC in a QCView. I double click and I play the QC. Other double click and
I pause the QC (still visible). May I have a pointer? Thanks.


Best Regards
-- 
Lorenzo
email: [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to