Help with bitmap DIB

J

Joao Tomas

Hi

I use this function to retrieve a pointer to a DIB (device-independent
bitmap) in memory

pGetFrameObj = AVIStreamGetFrameOpen(pAVIStream, bih) 'force function to
return 24bit DIBS

it returns a pointer

But how can I use this in order to populate a Image control , or save in BMP
format

thanks
 
J

Joao Tomas

sorry, wrong function

pDIB = AVIStreamGetFrame(pGetFrameObj, frameNum) 'returns "packed DIB"

this is a pointer to a packed DIB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top