Previous Up Next

_QTCreateMovieBmp
This function create a quicktime movie object from a file in the partition. All the movie rendering will be done in a bitmap object. The movie will be scaled to the original size of the bitmap.

QTMovie _QTCreateMovieBmp (
Chn _channel_
P _file_
ObjBitmap _bitmap_
I _flag_
)
Parameters

_channel_
proprietary channel
_file_
file to read. Movie files can be .mov, .pic and any type supported by the quicktime codecs (mp3, mpeg, etc...).
_bitmap_
The movie will be rendered in this bitmap object. Be aware that the movie's size will be scaled down or/and up in order to fit the original bitmap size which may cause a distortion in its aspect ratio.
_flag_
The flag argument is not used and reserved for further developement. It should be 0 or nil at the moment
Return value

a valid QTMovie object or nil if there was an error (quicktime not installed, the file is not a valid one, etc...).