std/png: ignore tRNS chunks for color types 4, 6

Updates #146
This commit is contained in:
Nigel Tao committed 2024-04-19 21:31:39 +10:00
1 parent f169822680
commit da0d51d802
3 files changed
+26 -14

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ The LICENSE has changed from a single license (Apache 2) to a dual license
- Fixed `PIXEL_FORMAT__YA_{NON,}PREMUL` constant values.
- Generated constants now default to unsigned.
- Halved the sizeof `wuffs_foo__bar::unique_ptr`.
- Have `std/png` ignore tRNS chunks for color types 4 (YA) and 6 (RGBA).
- Let `std/png` decode PNG color type 4 to `PIXEL_FORMAT__YA_NONPREMUL` (two
channels) instead of `PIXEL_FORMAT__BGRA_NONPREMUL` (four channels).
- Removed the `std/gif -> std/lzw` dependency.