版本发布 8
- Update to latest oxipng v10
- Use webpmux if available to unpack and repack animated webp images. - Fix Animated WebP images: - Sometimes being repacked in reverse frame order. - Sometimes degrading quality. - Sometimes dropping frames. - Use secure python temporary directory for unpacking animated webp images and chaining webp conversion input. - Use img2webp if available for animated conversion to webp from png. - Use memory buffers instead of disk for webp output.
- Support Python 3.14
- MozJpeg is now an internal python module. External mozjpeg & jpegtran support removed.
- Fix crash converting animated images with bad duration metadata.
- Alert! - Timestamps options changed, invalidating old timestamps. On your first run in a path with picopt 5.0 you may use the `-N` option to ignore the old timestamp's config differences. - Fixes - Fix tif & animated gifs were not converted to pngs when specified. - Fix --ignore option wildcards and performance. - --ignore is now case insensitive on case insenstitive filesystems - Features - Picopt learned to optimize 7-Zip and Tar Archives. - Ignore dotfiles by default. Disable with -I. - -T --test option becomes -d --dry-run - colors changed. - Performance - Archives skipped without unpacking contents if all contents are skippable. - Animated pngs better optimized with oxipng - Faster scanning for legacy timestamps on startup. - Dev - Updated treestamps - uv build system
- -T --test option becomes -d --dry-run - Fix tif & animated gifs not converted to pngs when asked. - animated pngs better optimized with oxipng - updated treestamps - uv build system
- Fix windows mmap crash. Thanks @Fletcher.