Questions tagged [dib]

DIB is a Device Independent Bitmap

Refer to https://en.wikipedia.org/wiki/Device-independent_bitmap for more details.

51 questions
0
votes
1 answer

JavaScript, inputstream and DIB?

Is there any useful way to load DIB into inputstream and get a handle to it and all that in JavaScript (js) ?
Horvath
0
votes
1 answer

OpenGL Win32 texture not shown in DrawToBitmap (DIB)

I have a realtime OpenGL application rendering some objects with textures. I have build a function to make an internal screenshot of the rendered scene by rendering it to an DIB via PFD_DRAW_TO_BITMAP and copy it to an image. It works quite well…
Michbeckable
  • 1,851
  • 1
  • 28
  • 41
0
votes
2 answers

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…
user25749
  • 4,825
  • 14
  • 61
  • 83
0
votes
1 answer

What is the most efficient method of orthogonally rotating a device-independent bitmap (DIB) for display in a window?

I'm writing some code which takes a bitmap from an attached webcam, rotates it either 90, 180 or 270 degrees clockwise and displays it in a window. The bitmap is originally supplied as a device independent bitmap. What is the most efficient series…
-1
votes
1 answer

Copying from a packed DIB void pointer

I am working on an API to cache GDI objects, written in C++, in which I am implementing different Create methods that imitate the win32 API. One such method is CreateDIBPatternBrushPt(), which takes in a VOID* to a packed DIB. The VOID* contains a…
John-Jack
  • 41
  • 1
  • 6
-2
votes
2 answers

How to save Windows.tagBitmap to stream as a full DIB?

from a third party component I am receiving a PBitmap which is a pointer to Windows.tagBitmap record. { Bitmap Header Definition } PBitmap = ^TBitmap; {$EXTERNALSYM tagBITMAP} tagBITMAP = record bmType: Longint; bmWidth: Longint; …
Wodzu
  • 6,932
  • 10
  • 65
  • 105
1 2 3
4