beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / image / writejbig2.h
blobe2c907bf687ff39b99441082e8274791768b6f89
1 /* writejbig2.h
3 Copyright 1996-2006 Han The Thanh <thanh@pdftex.org>
4 Copyright 2006-2009 Taco Hoekwater <taco@luatex.org>
6 This file is part of LuaTeX.
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.
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.
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/>. */
21 #ifndef WRITEJBIG2_H
22 # define WRITEJBIG2_H
24 # include "image.h"
26 unsigned int read2bytes(FILE * f);
27 unsigned int read4bytes(FILE * f);
29 boolean supported_jbig2(image_dict *);
30 void read_jbig2_info(image_dict *);
31 void flush_jbig2_info(image_dict *);
32 void write_jbig2(PDF, image_dict *);
33 void flush_jbig2_page0_objects(PDF);
35 #endif