summaryrefslogtreecommitdiff
path: root/media/libjxl/src/plugins/gimp/file-jxl-load.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libjxl/src/plugins/gimp/file-jxl-load.h')
-rw-r--r--media/libjxl/src/plugins/gimp/file-jxl-load.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/media/libjxl/src/plugins/gimp/file-jxl-load.h b/media/libjxl/src/plugins/gimp/file-jxl-load.h
new file mode 100644
index 0000000000..c9ca6d99b8
--- /dev/null
+++ b/media/libjxl/src/plugins/gimp/file-jxl-load.h
@@ -0,0 +1,19 @@
+// Copyright (c) the JPEG XL Project Authors. All rights reserved.
+//
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#ifndef PLUGINS_GIMP_FILE_JXL_LOAD_H_
+#define PLUGINS_GIMP_FILE_JXL_LOAD_H_
+
+#include "jxl/decode.h"
+#include "jxl/decode_cxx.h"
+#include "plugins/gimp/common.h"
+
+namespace jxl {
+
+bool LoadJpegXlImage(const gchar* filename, gint32* image_id);
+
+} // namespace jxl
+
+#endif // PLUGINS_GIMP_FILE_JXL_LOAD_H_