Skip to content

Commit c357b2f

Browse files
matmenclaude
andcommitted
Changelog: where the PNG default applies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BsU2GAqbnFSNaYDBGD1Km2
1 parent e6d2af0 commit c357b2f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
- PNG and APNG encoding (`encode()`, `encodePNG()`, `encodeAPNG()`, `apngEncoder()`) default to compression level 4
88
instead of 1: 7-22% smaller files (graphics 11%, photos 10%, screenshots 22%) for about 30% more time. zlib's lazy
9-
matching starts at level 4, so levels 2-3 save less. Pass `compression: 1` for the previous speed.
9+
matching starts at level 4, so levels 2-3 save less. Pass `compression: 1` for the previous speed. (Node.js and
10+
Bun; elsewhere levels 1-6 compress with `CompressionStream`, whose level is fixed at 6.)
1011

1112
### Performance
1213

0 commit comments

Comments
 (0)