Intializing an NSMovie with images
Intializing an NSMovie with images
- Subject: Intializing an NSMovie with images
- From: email@hidden
- Date: Sat, 12 Jul 2003 10:59:55 -0400
I need to create an NSMovie by loading all the images from a directory
sequentially by file name. According to the documentation of this
method for initializing movies, I can do any type that quicktime can
handle:
----------------------
initWithURL:byReference:
- (id) initWithURL: (NSURL*) url byReference: (BOOL) byRef
"Initializes the receiver with data located at url .url can use any
appropriate URL protocol, including file: ,http: , or rtsp: , and
reference any type of data recognized by QuickTime, including video,
pure audio, or still images. For streamed media, use the QuickTime
function GetMovieLoadState to test if all of the movie data has been
received yet. If byRef is YES , only the URL is encoded when the
NSMovie is archived. If byRef is NO , the movie's QuickTime header
information is encoded. "
------------------
However, it does not specify how to do what I need to do. Also, in
Quicktime, there is a "Load image sequence" option. Thanks!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.