Debian Codegraph @

texk/dvipdfm-x/pngimage.h

raw
1 /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
2
3 Copyright (C) 2002-2020 by Jin-Hwan Cho and Shunsaku Hirata,
4 the dvipdfmx project team.
5
6 Copyright (C) 1998, 1999 by Mark A. Wicks <[email protected]>
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 */
22
23
24 #ifndef _PNGIMAGE_H_
25 #define _PNGIMAGE_H_
26
27 #ifdef HAVE_LIBPNG
28
29 #include "mfileio.h"
30 #include "pdfximage.h"
31
32 extern int png_include_image (pdf_ximage *ximage, FILE *file);
33 extern int check_for_png (FILE *file);
34 extern int png_get_bbox (FILE *fp, uint32_t *width, uint32_t *height,
35 double *xdensity, double *ydensity);
36
37 #endif
38
39 #endif /* _PNGIMAGE_H_ */