I would like to capture a bitmap from my screen and store it in a format which is independent of the resolution. More Specifically, I would like to store it always in a 24 bpp file. Is there any way to do this.
However I cannot use GetDIBits(), because of performance issues.
This is because i get the buffer directly from surface memory(using directx) and i will not be using windows gdi functions because of there slower performance.