aboutsummaryrefslogtreecommitdiffstats
path: root/src/jpeg.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/jpeg.h
parentb20c6ad3ed930977990f3812b25b80d2ce282d79 (diff)
downloadmelon-1994f122cc29504862944cca1da1c5203c7e41eb.tar.gz
melon-1994f122cc29504862944cca1da1c5203c7e41eb.tar.zst
Decode JBIG and JPEG during HN conversion.
Diffstat (limited to 'src/jpeg.h')
-rw-r--r--src/jpeg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jpeg.h b/src/jpeg.h
new file mode 100644
index 0000000..db35d94
--- /dev/null
+++ b/src/jpeg.h
@@ -0,0 +1,8 @@
+/*
+ * Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+int strinfo_jpeg_dim(int *jpeg_width, int *jpeg_height,
+ const char * restrict data, int data_size);