Click to See Complete Forum and Search --> : GetDIBits


ang@dy4.com
June 12th, 2000, 11:30 AM
Hi,
I'm using GetDIBits to do my screen capture of size 128x128. However, I was not able to use GetDIBits fast enough to generate a continuous capture. That is, 24 frames (or capture) per second. According to my Pent200 64Ram, I get about 13 capture per second. Are there alternative to GetDIBits to caputre the screen or am I just using a slow machine.

for(;;)
{
...
GetDIBits(dcScreen.m_hDC,
(HBITMAP)(myParent- >bmp),
0,
nHeight,
(LPVOID)(pBitmapBits),
&(BitmapInfo),
DIB_RGB_COLORS);
...
}

y.attar
April 28th, 2001, 01:36 PM
Hi friend,
I am sorry because I don't can't answer your question. But the program you wrote is exactly the program that I am looking for. I have a camera and a card to capture it's video.I want to write a program to capture BMPs from camera.I want uncompressed BMPs and I don't want to save them because it is an immage processing project.
Can you send me the source code of your program and if possible give me some information about this work.
Thank you,
Best regards,
Yasser Attar Izzy,
for reply mail to:y.attar@ieee.org