summaryrefslogtreecommitdiff
path: root/include/tinyff/image/png.h
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-04 16:06:22 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-04 16:06:22 +1100
commitfd05629fb093dab6ae44db4f201a48f65c717288 (patch)
treef4be0520958c8e02b54500e3bef5021ba09eb77e /include/tinyff/image/png.h
parent7c56468903540fefc8029f67395665436f5d26b3 (diff)
feat(png): Add ff_png_normalize function and generic image header
Diffstat (limited to 'include/tinyff/image/png.h')
-rw-r--r--include/tinyff/image/png.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h
index fd8d29d..0b0bb3b 100644
--- a/include/tinyff/image/png.h
+++ b/include/tinyff/image/png.h
@@ -10,6 +10,7 @@
#include "tinyff/result.h"
#include "tinyff/common.h"
#include "tinyff/stream.h"
+#include "tinyff/image/generic.h"
// External
#include "ext/tinf.h"
@@ -100,4 +101,6 @@ const ff_png_chunk_handler ff_png_chunk_handlers[] = {
ff_result ff_png_isvalid(ff_stream *stream);
ff_result ff_open_png(ff_stream *stream, ff_png_ctx **out_ctx);
+ff_result ff_png_normalize(ff_png_ctx *ctx, ff_image_ctx **out_data);
+
#endif