Thank you David, I have already a QCRenderer class to create OpenGL Textures from a QC, but in this case (a simple file browser) I have found the QCView useful enough. I have got the snapshot using my OpenGL routines (using the OpenGL context from the QCView) and it worked fine. Thanks for replying.
Best Regards -- Lorenzo email: [EMAIL PROTECTED] > From: David Duncan <[EMAIL PROTECTED]> > Date: Tue, 26 Feb 2008 09:57:09 -0800 > To: [EMAIL PROTECTED] > Cc: cocoa-dev@lists.apple.com > Subject: Re: QCView > > On Feb 26, 2008, at 7:03 AM, [EMAIL PROTECTED] wrote: > >> 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? > > QC renders via OpenGL, so yes you should try using the QCRenderer > instead. > >> 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. > > You will probably have to resort to the QCRenderer for this as well. > >> 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. > > > For specific details, you might want to consul the QuartzComposer-Dev > list, as the QC engineers monitor that list more so than this one. > -- > David Duncan > Apple DTS Animation and Printing > [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]