Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I get a bitmap thumbnail from Quicktime movie (on Mac OS X)



I am trying to create a thumbnail image from a Quicktime movie. The application uses the Qt library from Trolltech, so I eventually need to get the image data into a QImage object, which can be initialised with data for most standard image file formats.

The code to do this on Windows is already implemented using

PicHandle macHandle = GetMoviePict(holder.pInternals->movie, frameTime);
HANDLE hDIB = GetDIBFromPICT(macHandle);
// ... build a BMP file in memory
// ... initialise QImage

but I am trying to do the same thing for the Mac OS X port of the application and I cannot find how to convert the data returned from GetMoviePict into a bitmap format that can be used to initialise the QImage object.

Can anyone point me in the direction of the APIs or some sample code to acheive this?

Thanks,

Tristan.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.