summaryrefslogtreecommitdiff
path: root/include/tinyff/image
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-30 14:52:22 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-30 14:52:22 +1100
commit0586891c02f3e038ba665450badc09e31f30ff28 (patch)
tree1687fcd800eb14e99577afaa315d3d6d154a7008 /include/tinyff/image
parent84a34fcd489187279e54201e9b56e049b5048892 (diff)
feat(png): Add context to isvalid and open_png
Diffstat (limited to 'include/tinyff/image')
-rw-r--r--include/tinyff/image/png.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h
index 571c75d..82fba32 100644
--- a/include/tinyff/image/png.h
+++ b/include/tinyff/image/png.h
@@ -87,6 +87,8 @@ extern const ff_png_chunk_handler ff_png_chunk_handlers[];
+ff_result ff_png_isvalid(ff_ctx* ctx, ff_stream *stream);
+ff_result ff_open_png(ff_ctx* ctx, ff_stream *stream, ff_png_ctx **out_ctx, ff_flag require_valid);
ff_result ff_png_normalize(ff_ctx* ctx, ff_png_ctx *png_ctx, ff_image_ctx **out_data);