aboutsummaryrefslogtreecommitdiffstats
path: root/src/jbig2.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-22 19:47:40 +0000
committeryzrh <yzrh@noema.org>2022-12-24 23:29:56 +0000
commit9c1f1d0b75de0d2ed299842d3025941f3e681c16 (patch)
tree302f6d4a2235acfe8872a3c0c1c216fecc323b95 /src/jbig2.h
parentac3b1dda63944f2cc8caaa52344774255e1956c8 (diff)
downloadmelon-9c1f1d0b75de0d2ed299842d3025941f3e681c16.tar.gz
melon-9c1f1d0b75de0d2ed299842d3025941f3e681c16.tar.zst
Fix HN conversion and add JBIG2 support.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/jbig2.h')
-rw-r--r--src/jbig2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jbig2.h b/src/jbig2.h
new file mode 100644
index 0000000..11249cf
--- /dev/null
+++ b/src/jbig2.h
@@ -0,0 +1,7 @@
+/*
+ * Copyright (c) 2022, yzrh <yzrh@noema.org>
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+int strdec_jbig2(char **bitmap, const char * restrict jbig2, int jbig2_size);