Releases: 343dev/optimizt
Releases · 343dev/optimizt
v11.0.0
Breaking Changes
- Replaced imagemin/gifsicle-bin package with 343dev/gifsicle.
- Added new configuration parameters in .optimiztrc.cjs:
- Updated gifsicle to version 1.96.
Benefits
- Reduced Dependencies: Total project dependencies decreased from 218 to 41.
- Improved Platform Support: Added arm64 binary versions for
guetzliandgifsicle.
Important Note About Gamma Parameters
The new gamma parameters were added because of changes in gifsicle 1.96. In this version:
- The
--lossyoption now measures color errors using the color space selected by--gamma(defaults to sRGB). - A new algorithm for computing color differences has been implemented.
- This means
--lossy=Nwill behave differently than in previous versions and may compress less than expected. - For behavior similar to previous versions, use
--lossy=N --gamma=1.
Migration Guide
If you use an external configuration file (.optimiztrc.cjs), add the following parameters with a value of 1 to preserve the previous behavior: