diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-15 17:19:12 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-15 17:19:12 +1100 |
| commit | 93520564a4aae6a25420f083eb1c7d73372a4ca0 (patch) | |
| tree | 21399379761b08974e4e85919b5375168f4b3b47 /src/format | |
| parent | fd05629fb093dab6ae44db4f201a48f65c717288 (diff) | |
feat(png): Add handler for tRNS ancillary chunk in PNG processing
Diffstat (limited to 'src/format')
| -rw-r--r-- | src/format/image/png.c | 7 |
1 files changed, 6 insertions, 1 deletions
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); +} |
