In article <dowdy-230A9B.15100107062004.TakeThisOut@news.apple.com>,
Tom Dowdy <dowdy.TakeThisOut@apple.com> wrote:
> In article <mair_fheal-403B8E.13325907062004.TakeThisOut@corp.supernews.com>,
> edens morgan mair fheal greykitten tomys des anges
> <mair_fheal.TakeThisOut@yahoo.com> wrote:
>
> > GraphicsExportSetInputGraphicsImporter(ge,movie);
>
> A movie isn't a graphics importer. If you have any kind of param
> checking turned on in your compiler, this should have kicked out tons of
> errors.
most of these things are void pointers so checking is turned off
> You probably want to get the Picture from the movie via GetMoviePict and
> then use GraphicsExportSetInputPicture.
thank you
thank you
thank you
thank you
thank you
thank you
thank you
thank you
thank you
it works
exactly what i need
thank you
> > also
> > where are the damn headers that define
> > GraphicsExportComponent
> > and all the rest if anybody knows
>
> Movies.h ImageCompression.h
> If using framework style includes, QuickTime/QuickTime.h will haul all
> of them in.
with cocoa the documentation gives the import directive
everytime with carbon i have to spend a hour or two looking
for the framework and include and all
cause i cant find any documenting map on what is where
offhand ive forgotten again find out what macos error numbers mean
while i can get unix errnos in one or two tries
> > i wish apple could figure out how to write man pages
>
> There's gobs of QuickTime documentation and sample code online. It
> isn't man pages, but there is quite a bit of it there.
it returns a pict handle
if you look up the documentation on how to write out the pict to a file
you end up with pascal code use fs-specs
it takes a half-dozen calls to go from a c string to cfstring to url
to fsref to ?fsspec to a file desingator
and still it didnt work (error -35)
since osx can use the extension instead of the finder info
i was able to open the file with
int fd = open("temp.pict",O_WRONLY|O_CREAT|O_TRUNC,0644);
and do it in one step
the carbon interfaces and their documentation are real mess<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: quicktime - once more into the breech