
#include "Image/Image.H"#include "Util/log.H"#include "Raster/Raster.H"#include <cstdio>#include <cstdlib>
Go to the source code of this file.
Defines | |
| #define | NBCHARS 95 |
Functions | |
| int | main (int argc, char **argv) |
Takes a .pgm image with ASCII chars written in it, and transforms it into C source code
Definition in file app-font2c.C.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
font2c.C -- takes a .pgm image with ASCII chars written in it, and transforms it into C source code
Definition at line 56 of file app-font2c.C.
References Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), and Raster::ReadGray().
1.6.3