Hi all

How to convert the 8 bit Bayer image data of bmp to 24bit Colored image in vb6.0.
The bayer image data is sent to Vb from h/w, How to add header for this 24bit colored image.
And h/w sends me the 8bit bayer image data of different sizeses(ex:-16X16, 504X664, 81X98 etc) any size
the h/w can send but my vb program should convert it to 24bit bmp image.


And i have to add the header for these 8 bit Bayer image data and convert it to 24bit Colored image

The 8 bit Bayer image data comes to me continuously for every image data which comes to vb, gets just 5seconds delay.

Plz help me friends
And i need to do it early, its too urgent

Thanks in advance
Seema