EasyManuals Logo

THORLABS DCU22 Series User Manual

THORLABS DCU22 Series
420 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #210 background imageLoading...
Page #210 background image
205SDK (Software development Kit)
© 2010 Thorlabs
7.3.59
is_RenderBitmap
USB 2.0
-
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
hCam
Camera handle
nMemID
ID of the image memory whose contents is to be displayed
hwnd
Output window handle
nMode
IS_RENDER_NORMAL
The image is rendered normally. It will be displayed in 1:1
scale as stored in the image memory.
IS_RENDER_FIT_TO_WINDOW
The image size is adjusted to fit the output window.
IS_RENDER_DOWNSCALE_1_2
Displays the image at 50% of its original size.
The following options can be linked by a logical OR using the nMode parameter:
IS_RENDER_MIRROR_UPDOWN
Mirrors the displayed image along the horizontal axis.
Return Values
IS_SUCCESS
Function executed successfully
IS_NO_SUCCESS
General error message
Related Functions
is_AllocImageMem()
is_SetColorMode()
is_SetDisplayMode()
is_DirectRenderer()
119
119
241
246
130

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals