EasyManuals Logo

THORLABS DCU223 SERIES Description And Sdk Manual

THORLABS DCU223 SERIES
513 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 #269 background imageLoading...
Page #269 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
267
Contents of the IMAGE_FILE_PARAMS structure
wchar_t
pwchFileName
Name of the file to be loaded/saved (Unicode).
If NULL is passed, the "Open file"/"Save as"
dialog opens.
UINT
nFileType
File type to be saved:
IS_IMG_BMP
IS_IMG_JPG
IS_IMG_PNG
UINT
nQuality
Sets the image quality for JPEG and PNG (and
therefore the compression). The higher the
value, the better the quality is:
100 = maximum quality with minimum
compression
If the parameter is set to 0, the the default
value of 75 is used.
For BMP the parameter is ignored.
char
ppcImageMem
When loading:
Pointer to an image memory and pointer to the
corresponding ID. If both pointers are NULL the
image is loaded into the active image memory. If
both pointers are valid a new memory is
allocated. This memory must be released with
is_FreeImageMem().
When saving:
Pointer to an image memory and pointer to the
corresponding ID. If both pointers are NULL the
image is saved from the active image memory. If
both pointers are valid the corresponding
memory is used.
UINT
pnImageID
BYTE
reserved[32]
reserved
Return values
IS_FILE_READ_INVALID_BMP_ID
The specified file is not a valid bitmap file.
IS_FILE_READ_OPEN_ERROR
The file cannot be opened.
IS_INVALID_PARAMETER
One of the submitted parameters is outside the
valid range or is not supported for this sensor or
is not available in this mode.
IS_NO_SUCCESS
General error message
IS_NOT_SUPPORTED
The camera model used here does not support
this function or setting.
IS_SUCCESS
Function executed successfully
Related functions
is_GetImageMem()
is_SetImageMem()

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