From 7041bdaeff0456f549ffed48f3c8bc442193b0ce Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Wed, 14 Jan 2026 14:24:01 +1100 Subject: feat(png): Implement chunk handlers for IHDR and IDAT --- include/tinyff/image/png.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h index 80e8fe6..9348dce 100644 --- a/include/tinyff/image/png.h +++ b/include/tinyff/image/png.h @@ -46,9 +46,9 @@ typedef struct { } ff_png_chunk_handler; const ff_png_chunk_handler ff_png_chunk_handlers[] = { - {"IHDR", NULL}, - {"IDAT", NULL}, - {"IEND", NULL}, + {"IHDR", ff_png_header_handler}, + {"IDAT", ff_png_data_handler}, + {"IEND", ff_png_end_handler}, {NULL, NULL} // Terminator -- cgit v1.2.3