aboutsummaryrefslogtreecommitdiffstats
path: root/src/jbig.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2020-12-31 22:36:28 +0000
committeryzrh <yzrh@noema.org>2021-01-03 03:01:28 +0000
commit1994f122cc29504862944cca1da1c5203c7e41eb (patch)
treed89e37c5f3443156116bd8476e0efc2d380acd55 /src/jbig.h
parentb20c6ad3ed930977990f3812b25b80d2ce282d79 (diff)
downloadmelon-1994f122cc29504862944cca1da1c5203c7e41eb.tar.gz
melon-1994f122cc29504862944cca1da1c5203c7e41eb.tar.zst
Decode JBIG and JPEG during HN conversion.
Diffstat (limited to 'src/jbig.h')
-rw-r--r--src/jbig.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jbig.h b/src/jbig.h
new file mode 100644
index 0000000..170eda1
--- /dev/null
+++ b/src/jbig.h
@@ -0,0 +1,8 @@
+/*
+ * Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+int strdec_jbig(char **bitmap, int *bitmap_size,
+ const char * restrict data, int data_size);