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/jbig.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jbig.h') diff --git a/src/jbig.h b/src/jbig.h index 170eda1..1919f3e 100644 --- a/src/jbig.h +++ b/src/jbig.h @@ -1,8 +1,8 @@ /* - * Copyright (c) 2020-2021, yzrh + * Copyright (c) 2022, yzrh * * SPDX-License-Identifier: Apache-2.0 */ -int strdec_jbig(char **bitmap, int *bitmap_size, - const char * restrict data, int data_size); +int strdec_jbig(char **bitmap, int width, int height, + const char * restrict jbig, int jbig_size); -- cgit v1.2.3