Commit 6575291e authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira

Merge pull request #10 from tiagofrepereira2012/master

Fixed issue #9
parents e76bd52a 96d0b804
......@@ -48,6 +48,8 @@
/* PNM/PFM API. */
extern "C"{
int get_pnm_type(FILE *f);
int read_pbm_header(FILE *f, int *img_xdim, int *img_ydim, int *is_ascii);
int read_pgm_header(FILE *f, int *img_xdim, int *img_ydim, int *img_colors,
......@@ -66,5 +68,6 @@ int write_pgm_file(FILE *f, int *img_out,
int write_ppm_file(FILE *f, int *img_out,
int x_size, int y_size, int x_scale_val, int y_scale_val,
int img_colors, int is_ascii, unsigned int bytes_per_sample);
}
#endif /* PNMIO_H */
......@@ -397,7 +397,7 @@ setup(
"bob/io/image/png.cpp",
"bob/io/image/jpeg.cpp",
"bob/io/image/bmp.cpp",
"bob/io/image/pnmio.c",
"bob/io/image/pnmio.cpp",
"bob/io/image/netpbm.cpp",
"bob/io/image/main.cpp",
],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment