* chore: bump up Rust crate oxipng to v10
* finish upgrade
* fix: update oxipng v10 API for armv7 build
Renamed `deflate` field to `deflater` and `Deflaters` enum to `Deflater`
to match oxipng v10 API changes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* Initial plan
* Initial analysis of PNG quantization color distortion issue
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
* fix(png): correct gamma handling in PNG quantization to prevent color distortion
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
* feat(png): add configurable gamma parameter for non-sRGB images in quantization
- Add optional gamma parameter to PngQuantOptions
- Default to 0.45 (sRGB) but allow override for linear RGB (1.0) and other color spaces
- Added comprehensive documentation with common gamma values
- Addresses concern about non-sRGB source images
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
* feat(png): add automatic gamma detection from PNG metadata in quantization
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
* feat(png): remove manual gamma override, use only automatic detection
Removed the gamma field from PngQuantOptions struct per feedback from @Brooooooklyn.
Now only uses detect_gamma_from_png_info() for automatic gamma detection from
PNG metadata (sRGB chunk, gAMA chunk, or sRGB fallback).
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
* remove package-lock.json and add to gitignore
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
* revert accidental yarn.lock format change and generated files
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>