From 93520564a4aae6a25420f083eb1c7d73372a4ca0 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Sun, 15 Feb 2026 17:19:12 +1100 Subject: feat(png): Add handler for tRNS ancillary chunk in PNG processing --- src/format/image/png.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/format/image') diff --git a/src/format/image/png.c b/src/format/image/png.c index 162d5ee..d883863 100644 --- a/src/format/image/png.c +++ b/src/format/image/png.c @@ -309,4 +309,9 @@ ff_result ff_png_end_handler(uint8_t *buf, size_t len, ff_png_ctx *ctx) ff_dprintf("png: all chunks received\n"); return FF_RESULT_OK; -} \ No newline at end of file +} + +ff_result ff_png_trans_handler(uint8_t *buf, size_t len, ff_png_ctx *ctx) +{ + ff_dprintf("png: PLTE chunk received (len=%zu)\n", len); +} -- cgit v1.2.3