205SDK (Software development Kit)
© 2010 Thorlabs
7.3.59
is_RenderBitmap
Syntax
INT is_RenderBitmap (HIDS hCam, INT nMemID, HWND hwnd, INT nMode)
Description
Using is_RenderBitmap(), you can output an image from an image memory in the specified
window. For the display, Windows bitmap functionality is used. The image is displayed in the format
you specified when allocating the image memory.
The bitspixel parameter of the is_AllocImageMem() function defines the colour depth and
display type. RGB16 and RGB15 require the same amount of memory but can be distinguished by
the bitspixel parameter.
In bitmap (DIB) mode, the color format UYVY is not supported.
Input Parameters
ID of the image memory whose contents is to be displayed
The image is rendered normally. It will be displayed in 1:1
scale as stored in the image memory.
The image size is adjusted to fit the output window.
Displays the image at 50% of its original size.
The following options can be linked by a logical OR using the nMode parameter:
Mirrors the displayed image along the horizontal axis.
Return Values
Function executed successfully
Related Functions
is_AllocImageMem()
is_SetColorMode()
is_SetDisplayMode()
is_DirectRenderer()
119
119
241
246
130