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 #218 background imageLoading...
Page #218 background image
213SDK (Software development Kit)
© 2010 Thorlabs
7.3.65
is_SaveImageMem
USB 2.0
USB 2.0
Syntax
INT is_SaveImageMem (HIDS hCam, const IS_CHAR* File,
char* pcMem, int nID)
Description
is_SaveImageMem() saves an image in bitmap (*.BMP) format to a file. The images are read out
from the specified image memory. The bitmap is stored with the colour depth that was used when
allocating the image memory (in DIB mode) or that was set for the current colour mode (in Direct3D
mode). JPEG files are always saved with a colour depth of 8 or 24 bits.
In Direct3D mode, overlay data is not saved.
Input Parameters
hCam
Camera handle
File
Pointer to a string containing the BMP filename You can either pass an absolute
or a relative path.
If NULL is passed, the "Save as" dialogue will be displayed.
pcMem
Pointer to the image memory
nID
Image memory ID
You can link USE_ACTUAL_IMAGE_SIZE and nID by a logical OR to save the image
with the currently set image size.
Return Values
IS_SUCCESS
Function executed successfully
IS_NO_SUCCESS
General error message
Related Functions
is_SaveImage()
is_SaveImageEx()
is_SaveImageMemEx()
is_LoadImage()
Is_LoadImageMem()
is_GetImageMem()
is_SetImageMem()
210
211
214
200
201
177
270

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