Sensoray 2224 Windows Manual de usuario Pagina 66

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 65
int type,
HANDLE hdev
);
Sets the output control for the device for the composite outputs.
Parameters
type
0-scaled output off(raw preview may be used), 1-scaled output on (raw preview not
avaiiable).
hdev
handle to device (obtained from S2226_OpenBoard).
Returns
0 on success, negative value if error (see mid2226types.h for error codes list).
MID2226_API int S2226_save_rgb(
const char *fileName,
const unsigned char *rgb,
int width,
int height,
int type
);
This helper function does not involve the 2226 hardware. It is used in the snapshot demo program
to save bitmaps from frames grabbed via the raw callback mechanism.
Parameters
fileName
full path to the target file in ASCII format, no extension.
rgb
pointer to the image in RGB format.
width
width of the image
height
height of the image
type
file save type. 0—BMP, 1—PPM.
66
Vista de pagina 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 93 94

Comentarios a estos manuales

Sin comentarios