Skip to content

Commit 8838de7

Browse files
authored
Update to Oxipng 9 (#13)
* Update to oxipng 9 Update and remove several options, add new scale_16 option * Update type defintions and tests * Update README * v9.0.0 * Improved type definitions * Refactor chunk conversion implementation Extract str -> chunk conversion into dedicated function * Refactor arg parsing implementation Drops support for noop optimize * Add support for RawImage * Raise value error if Raw indexed palette is too small or too big * RawImage tests * Update type defintions * Refactored README * Additional CHANGELOG entries for v9 * Add missing test data file * Added docstrings to typings file
1 parent 262e330 commit 8838de7

File tree

13 files changed

+945
-423
lines changed

13 files changed

+945
-423
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## 9.0.0
4+
5+
- Update to oxipng 9
6+
- BREAKING: Removed `backup` option
7+
- BREAKING: Removed `check` option
8+
- BREAKING: Removed `pretend` option
9+
- BREAKING: Removed `preserve_attrs` option
10+
- BREAKING: Replaced `oxipng.Headers` with `oxipng.StripChunks`
11+
- Added: `RawImage` class for optimizing raw RGBA data
12+
- Added: `scale_16` option
13+
- Fixed: correct `fast_evaluation` option implementation
14+
315
## 8.0.1
416

517
- Python 3.12 wheels

0 commit comments

Comments
 (0)