Converting a PicHandle to format for use with imageData

Thierry Arbellot thierry.arbellot at wanadoo.fr
Mon Dec 29 12:59:28 CST 2003


Hi Trevor,

Apple gives a sample code on how to get a video frame from a QT movie  
and draw it into a GWorld.
Then you can copy the PixMap of this GWorld directly into the imageData  
of an image object.

http://developer.apple.com/samplecode/Sample_Code/QuickTime/Basics/ 
VideoFrameToGWorld.htm

Hope it helps.

Thierry.

On Monday, Dec 29, 2003, at 17:38 Europe/Paris, Trevor DeVore wrote:

> I've had a request to add support to my QT External for extracting an  
> image from a QuickTime movie (poster movie or the frame at a certain  
> point in time) and assigning it to an image in Revolution.  Getting an  
> image from a QT movie is pretty straightforward but the QT API returns  
> a PicHandle.  I have absolutely no idea how to get this into a format  
> that Revolution could use for imageData and was wondering if anyone on  
> the list had any experience with this.
>
> Thanks,
>
> -- 
> Trevor DeVore
> Blue Mango Multimedia
> trevor at mangomultimedia.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list