EasyManuals Logo

THORLABS DCU223 SERIES User Manual

THORLABS DCU223 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 #219 background imageLoading...
Page #219 background image
214 DCx camera
© 2010 Thorlabs
7.3.66
is_SaveImageMemEx
USB 2.0
GigE
USB 2.0
GigE
Syntax
INT is_SaveImageMemEx (HIDS hCam, const IS_CHAR* File,
char* pcMem, int nID,
INT fileFormat, INT Param)
Description
is_SaveImageMemEx() saves an image in bitmap (*.BMP) or Jpeg (*.JPG) 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
fileFormat
Specifies the output format of the file.
IS_IMG_BMP
Bitmap format
IS_IMG_JPG
JPEG format
Param
When you use IS_IMG_JPG to specify the file format, you can set the quality by
specifying a value between 1 and 100 for Param.
If Param=0, the system uses the default quality (75).
If you use IS_IMG_BMP, Param does not take effect.
Return Values
IS_SUCCESS
Function executed successfully
IS_NO_SUCCESS
General error message
IS_INVALID_PARAMETER
Invalid file format or invalid JPEG quality value

Table of Contents

Other manuals for THORLABS DCU223 SERIES

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU223 SERIES and is the answer not in the manual?

THORLABS DCU223 SERIES Specifications

General IconGeneral
BrandTHORLABS
ModelDCU223 SERIES
CategorySecurity Camera
LanguageEnglish

Related product manuals