Leptonica 1.68
C Image Processing Library
|
Demonstrates converting a file to grayscale. More...
#include "allheaders.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) |
Demonstrates converting a file to grayscale.
Definition in file converttogray.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 23 of file converttogray.c.
References ERROR_INT, FALSE, filein, IFF_PNG, NULL, pixConvert2To8(), pixConvert4To8(), pixConvertRGBToGray(), pixDestroy(), pixEqual(), pixGetDepth(), pixRead(), pixSetColormap(), pixWrite(), and TRUE.