Debian Codegraph @

texk/web2c/luatexdir/image/writejbig2.h

raw
1 /* writejbig2.h
2
3 Copyright 1996-2006 Han The Thanh <[email protected]>
4 Copyright 2006-2009 Taco Hoekwater <[email protected]>
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 #ifndef WRITEJBIG2_H
22 # define WRITEJBIG2_H
23
24 # include "image.h"
25
26 unsigned int read2bytes(FILE * f);
27 unsigned int read4bytes(FILE * f);
28
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);
34
35 #endif