dib

JavaScript, inputstream and DIB?

Hi all, Is there any useful way to load DIB into inputstream and get a handle to it and all that in JavaScript (js) ? ...

How to get a DIB implemented in a C++/COM library into a .NET client using that COM object

We have a COM object implemented with C++/ATL that includes a method which will return a DIB. We are also writing a .NET application that will use this COM object. Since we are writing both, we have the liberty of deciding how best to return this DIB from the COM object. To clarify, would it be best to return a native windows handle t...

which is the fasted method to draw a large DIB onto Screen in windows

I am programming in windows c++. I want to know which is the fasted method to draw a DIB onto Screen. The image maybe stretched. Faster than StretchDIBits, Faster than SetDIBitsToDevice. Faster than StretchBits. and with high stretch quality. Many thanks! ...

Capture screen shot with mouse cursor

Hi, I have used the following code to get screen shot on Windows. hdcMem = CreateCompatibleDC (hdc) ; int cx = GetDeviceCaps (hdc, HORZRES); int cy = GetDeviceCaps (hdc, VERTRES); HBITMAP hBitmap(NULL); hBitmap = CreateCompatibleBitmap (hdc, cx, cy) ; SelectObject (hdcMem, hBitmap) ; BitBlt(hdcMem, 0, 0, cx, cy, hdc, 0, 0, SRCCOP...

Delphi DIB with DIB Header into TBitmap

Hi All, I'm kindly asking you to help me with this problem: There's a byte array (data: PByte) containing DIB data AND DIBHeader: TDibHeader = record size: Cardinal; width: Integer; height: Integer; planes: Word; bits: Word; compression: Cardinal; image_size: Cardinal; x_res: Integer; y_res: Int...

CreateDIBSection leaving 'Not enough storage' error, but seems to still work anyway

Whenever my app tries to create a DIB section, either by calling CreateDIBSection(), or by calling LoadImage() with the LR_CREATEDIBSECTION flag, it seems to return successfully. The HBITMAP it returns is valid, and I can manipulate and display it just fine. However, calls to GetLastError() will return 8: Not enough storage is availabl...