IMGConvert

7.9/3
La funzione converte l' immagine da un tipo ad un altro.

Sintassi

SINT IMGConvert(SINT hdlImageSource, EN_PIXEL_TYPE enPixelTypeDest);

Parametri


Valori di ritorno

Handle della nuova immagine.

Commenti

EN_PIXEL_TYPE può assumere i seguenti valori :

IMG_PIXEL_UNKNOW, // formato sconosciuto

IMG_PIXEL_GRAYSCALE, // scala di grigi

IMG_PIXEL_COLOR8, // 256 colori 1 byte = pixel > con pallet

IMG_PIXEL_BGR, // Standard <-------------

IMG_PIXEL_RGB,

IMG_PIXEL_RGB_ALPHA, // Colore + Alpha

IMG_PIXEL_CMYK, // 4 colori

IMG_PIXEL_YCbCr,

IMG_PIXEL_YCCK,

IMG_PIXEL_BGR_16 // 01/03/2010 : Da fare


Library File
imgutil.c

Easyhand C/C++: IMGConvert | Last modified: 24/02/2011 18.01.12 Europe/Rome | #1.1221
P.. 1309
Easyhand C/C++
Una mano alle tue idee.
Privacy Policy