Help with bitmap DIB

  • Thread starter Thread starter Joao Tomas
  • Start date Start date
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
 
sorry, wrong function

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

this is a pointer to a packed DIB
 
Back
Top