1 /* pdftoepdf.h 2 3 Copyright 1996-2006 Han The Thanh <thanh@pdftex.org> 4 Copyright 2006-2011 Taco Hoekwater <taco@luatex.org> 5 6 This file is part of LuaTeX. 7 8 LuaTeX is free software; you can redistribute it and/or modify it under 9 the terms of the GNU General Public License as published by the Free 10 Software Foundation; either version 2 of the License, or (at your 11 option) any later version. 12 13 LuaTeX is distributed in the hope that it will be useful, but WITHOUT 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 16 License for more details. 17 18 You should have received a copy of the GNU General Public License along 19 with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */ 20 21 22 #ifndef PDFTOEPDF_H 23 # define PDFTOEPDF_H 24 25 # include "image.h" 26 27 void read_pdf_info(image_dict *, int, int, img_readtype_e); 28 void unrefPdfDocument(char *); 29 void write_epdf(PDF, image_dict *); 30 void epdf_check_mem(void); 31 void copyReal(PDF pdf, double d); 32 33 int poppler_version_major(void); 34 int poppler_version_minor(void); 35 int poppler_version_micro(void); 36 37 /* epdf.c --- this should go in an own header file */ 38 39 extern void epdf_free(void); 40 41 #endif /* PDFTOEPDF_H */ 42