image/imgbmp.h

Go to the documentation of this file.
00001 
00019 #ifndef           IMGBMP_H
00020 #define           IMGBMP_H
00021 
00022 #include          "host.h"
00023 
00024 INT8 open_bmp_image(               //read header
00025                     int fd,        //file to read
00026                     INT32 *xsize,  //size of image
00027                     INT32 *ysize,
00028                     INT8 *bpp,     //bits per pixel
00029                     INT8 *photo,
00030                     INT32 *res     //resolution
00031                    );
00032 INT8 read_bmp_image(                //read header
00033                     int fd,         //file to read
00034                     UINT8 *pixels,  //pixels of image
00035                     INT32 xsize,    //size of image
00036                     INT32 ysize,
00037                     INT8 bpp,       //bits per pixel
00038                     INT32           //bytes per line
00039                    );
00040 INT8 write_bmp_image(                //write whole image
00041                      int fd,         //file to write on
00042                      UINT8 *pixels,  //image pixels
00043                      INT32 xsize,    //size of image
00044                      INT32 ysize,
00045                      INT8 bpp,       //bits per pixel
00046                      INT8,
00047                      INT32           //resolution
00048                     );
00049 #endif

Generated on Wed Feb 28 19:49:11 2007 for Tesseract by  doxygen 1.5.1