From c3bf046b5dbdbebfbc8bd899a4a65637b03b18b4 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 24 Apr 2025 20:37:38 +1200 Subject: [PATCH] Bump version to 9.1.5 --- CHANGELOG.md | 7 +++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- MANUAL.txt | 12 ++++++++++-- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bf05b8a..11228d6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## Version 9.1.5 + +- [Feature] Add `--sequential` option to process files sequentially rather than in parallel. +- [Performance] Update to latest Zopfli with greatly improved performance. +- [Improvement] Reduce memory usage. +- [Bugfix] Correct handling of grayscale conversion when ICC profile is present. + ## Version 9.1.4 - [Improvement] Improve optimization of APNG files (reductions still not supported yet). diff --git a/Cargo.lock b/Cargo.lock index 9ad149bf..9b916cc4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -394,7 +394,7 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" [[package]] name = "oxipng" -version = "9.1.4" +version = "9.1.5" dependencies = [ "bitvec", "clap", diff --git a/Cargo.toml b/Cargo.toml index c01e4966..7b808159 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ homepage = "https://github.com/shssoichiro/oxipng" license = "MIT" name = "oxipng" repository = "https://github.com/shssoichiro/oxipng" -version = "9.1.4" +version = "9.1.5" rust-version = "1.74.0" [badges] diff --git a/MANUAL.txt b/MANUAL.txt index 95b9abed..dd969663 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1,4 +1,4 @@ -oxipng 9.1.4 +oxipng 9.1.5 Losslessly improve compression of PNG files Usage: oxipng [OPTIONS] ... @@ -182,7 +182,15 @@ Options: high compression levels. -t, --threads - Set number of threads to use [default: num CPU cores] + Set the maximum number of threads to use. Oxipng uses multithreading to evaluate multiple + optimizations on the same file in parallel as well as process multiple files in parallel. + You can set this to a lower value if you need to limit memory or CPU usage. + + [default: num logical CPUs] + + --sequential + Process multiple files sequentially rather than in parallel. Use this if you need + determinism in the processing order. Note this is not necessary if using '--threads 1'. -h, --help Print help (see a summary with '-h')