Sensoray 811 Windows SDK Instrukcja Użytkownika Strona 22

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 23
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 21
1 2 ... 17 18 19 20 21 22 23

Komentarze do niniejszej Instrukcji

Brak uwag