diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-01-14 14:24:01 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-01-14 14:24:01 +1100 |
| commit | 7041bdaeff0456f549ffed48f3c8bc442193b0ce (patch) | |
| tree | e4b790ec0fbb599e23ee0c0a18952d5a039a3fb8 /include/tinyff | |
| parent | fbf406c34adb0a65924f15a1f0e5142e695b36ad (diff) | |
feat(png): Implement chunk handlers for IHDR and IDAT
Diffstat (limited to 'include/tinyff')
| -rw-r--r-- | include/tinyff/image/png.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
