From 9c1f1d0b75de0d2ed299842d3025941f3e681c16 Mon Sep 17 00:00:00 2001 From: yzrh Date: Thu, 22 Dec 2022 19:47:40 +0000 Subject: Fix HN conversion and add JBIG2 support. Signed-off-by: yzrh --- src/cnki.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/cnki.h') diff --git a/src/cnki.h b/src/cnki.h index 569cea7..237a2c1 100644 --- a/src/cnki.h +++ b/src/cnki.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021, yzrh + * Copyright (c) 2020-2022, yzrh * * SPDX-License-Identifier: Apache-2.0 */ @@ -97,5 +97,7 @@ int cnki_jbig(char **bitmap, int *bitmap_size, int *bitmap_width, int *bitmap_height, const char * restrict jbig, int jbig_size); -/* cnki_xml.c */ -int cnki_xml(char **xml, FILE **fp); +/* cnki_jbig2.c */ +int cnki_jbig2(char **bitmap, int *bitmap_size, + int *bitmap_width, int *bitmap_height, + const char * restrict jbig, int jbig_size); -- cgit v1.2.3