Sensoray 811 Windows SDK Manuale Utente Pagina 22

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 23
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 21
device id in system.
Returns
0 if success, negative if error.
MID811_API int S811_SnapshotToFile(
char *fileName,
int filetype,
int qual,
int devid
);
Takes a snapshot and saves it to a file. Please see S811_EnableSnapshots and
S811_SetColorspace.
Parameters
fileName
full path to the target file, no extension.
filetype
file type(s) to save to (MID811_FILE_JPEG, MID811_FILE_BMP, see mid811types.h).
Please note that jpegs are compressed on the host computer, not on the 811 card. BMPs
capture will be less CPU intensive.
qual
JPEG quality (25-100, higher value yields better quality and bigger files).
devid
device id in the system (use 0 for first channel with a single board installed).
Returns
Image size in bytes or a negative value in case of an error.
MID811_API int S811_SnapshotToFileW(
wchar_t *fileName,
int filetype,
int qual,
int devid
);
22
Vedere la pagina 21
1 2 ... 17 18 19 20 21 22 23

Commenti su questo manuale

Nessun commento