ILibraryAssetThumbnail::GetImage
ILibraryAssetThumbnail::GetImage copies "the thumbnail (of a ILibraryAsset) image bitmap to a buffer" :
InterfacePtr<ILibraryAsset> asset ...
InterfacePtr<ILibraryAssetThumbnail> thumb (asset, IID_ILIBRARYASSETTHUMBNAIL);
if (!thumb) break;
int32 len;
thumb->GetImageSize (len);
if (len <= 0) break;
char * buffer = new char [len];
if (!buffer) break;
thumb->GetImage (buffer);
This works. But what can I do with *buffer*? Does anybody know the format of this or how to get an image (jpeg, gif, ...) out of this?
Thanks in advance,
Paul.
