OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
bitmap_io.h
Go to the documentation of this file.
1 /* Copyright (C) 2001-2015 Peter Selinger.
2  This file is part of Potrace. It is free software and it is covered
3  by the GNU General Public License. See the file COPYING for details. */
4 
5 /* bitmap input/output functions */
6 
7 #ifndef BITMAP_IO_H
8 #define BITMAP_IO_H
9 
10 #include <stdio.h>
11 #include "bitmap.h"
12 
13 /* Note that bitmaps are stored bottom to top, i.e., the first
14  scanline is the bottom-most one */
15 
16 extern char *bm_read_error;
17 
18 int bm_read(FILE *f, double blacklevel, potrace_bitmap_t **bmp);
19 void bm_writepbm(FILE *f, potrace_bitmap_t *bm);
20 int bm_print(FILE *f, potrace_bitmap_t *bm);
21 
22 #endif /* BITMAP_IO_H */
23 
int bm_read(FILE *f, double blacklevel, potrace_bitmap_t **bmp)
int bm_print(FILE *f, potrace_bitmap_t *bm)
char * bm_read_error
void bm_writepbm(FILE *f, potrace_bitmap_t *bm)