Skip to content

Releases: SalOne22/rimage

v0.11.0-next.3

02 Sep 21:41
Compare
Choose a tag to compare
v0.11.0-next.3 Pre-release
Pre-release

v0.11.0-next.3

Bug Fixes

  • cli: 🚑 convert all input images to rgba8 (c980e9a)
  • cli: 🐛 fixed incorect handling of file names with dots (1f3275c)
  • cli: 🐛 fixed null error on avif decoding (59b6759)
  • error if input width or height is 0 (b626fdc)
  • cli: 🐛 ensure max length calculation returns 0 instead of panicking when no outputs are present (3d0a3a3)
  • cli: 🐛 fixed handling of float32 images (66c3648)
  • cli: 🐛 improved resize value parsing by trimming input and refining error handling for invalid formats (2a43c26)
  • cli: 🐛 updated parsing logic for width and height to reduce number of edge cases (9bd3ea2)
  • operations: 🐛 updated apply icc profile operation to work in threads (b5dee09)

Features

  • cli: ✨ update resize value format for width and height to use 'w' and 'h' suffixes instead of 'x_' and '_x' (693ea46)

v0.11.0-next.2

13 Jul 11:06
Compare
Choose a tag to compare
v0.11.0-next.2 Pre-release
Pre-release

v0.11.0-next.2

Bug Fixes

  • cli: 💄 updated display styles (19adcea)

Features

  • cli: 💄 added progress bar (398e504)
  • cli: ✨ added quiet and no progress flags (0517908)
  • codecs: ✨ added tiff support (abc78f5)

v0.11.0-next.1

04 Jun 19:09
Compare
Choose a tag to compare
v0.11.0-next.1 Pre-release
Pre-release

v0.11.0-next.1

Bug Fixes

  • cli: fixed encoder function (1a6bf92)
  • codecs: fixed clippy errors (7f3c261)
  • codecs: updated avif decoder to new api (1c8ea8e)
  • codecs: updated avif encoder to new api (d07193d)
  • codecs: updated mozjpeg encoder to new api (b408b31)
  • codecs: updated oxipng encoder to new api (fdfcbd9)
  • codecs: updated webp decoder to new api (98728e0)
  • codecs: updated webp encoder to new api (ede4784)
  • workflow: 👷 removed check for unique branch (0505c62)
  • workflow: 💚 fixed macos version (17eeba1)
  • fixed clippy issues (0045b5b)

Features

  • cli: 🚸 added warn when input is not a file (dd2fe3e)
  • operations: added "apply icc profile" operation (e12b7c4)

v0.11.0-next.0

26 Mar 21:16
Compare
Choose a tag to compare
v0.11.0-next.0 Pre-release
Pre-release

v0.11.0-next.0

Breaking changes

  • Another complete rewrite of the library, please use zune-image with this crate.
  • CLI has been rewritten to a new, more flexible interface

Improved performance (alot). To libvips performance, like to the moon, but still.
Benchmark data was taken from sharp repository.

Options --directory /tmp --resize 500x200 --filter lanczos3 mozjpeg --quality 80 -- ./2569067123_aca715a2ee_o.jpg

One image from here:

Benchmark 1: rimage-0.11.0-next.0
  Time (mean ± σ):      48.6 ms ±   1.3 ms    [User: 43.9 ms, System: 8.4 ms]
  Range (min … max):    46.7 ms …  53.3 ms    59 runs

Benchmark 2: rimage-0.10.3
  Time (mean ± σ):     691.6 ms ±   5.2 ms    [User: 709.3 ms, System: 10.1 ms]
  Range (min … max):   687.1 ms … 705.0 ms    10 runs

Benchmark 3: squoosh-cli
  Time (mean ± σ):     760.6 ms ±  29.7 ms    [User: 2155.7 ms, System: 291.2 ms]
  Range (min … max):   738.0 ms … 829.5 ms    10 runs

Summary
  rimage-0.11.0-next.0 ran
   14.23 ± 0.39 times faster than rimage-0.10.3
   15.65 ± 0.74 times faster than squoosh-cli

Options --directory /tmp --resize 500x200 --filter lanczos3 mozjpeg --quality 80 -- ./*.jpg

Multiple images in parallel from here (only jpg):

Benchmark 1: rimage-0.11.0-next.0
  Time (mean ± σ):     177.2 ms ±   4.6 ms    [User: 999.5 ms, System: 38.7 ms]
  Range (min … max):   169.3 ms … 184.7 ms    17 runs

Benchmark 2: rimage-0.10.3
  Time (mean ± σ):     26.399 s ±  0.336 s    [User: 29.653 s, System: 0.089 s]
  Range (min … max):   26.045 s … 27.297 s    10 runs

Summary
  rimage-0.11.0-next.0 ran
  148.99 ± 4.31 times faster than rimage-0.10.3

Features

  • added avif decoder (b64b931)
  • added avif encoder (18ee7e3)
  • added fast resize operation (4317475)
  • added features to reduce lib size (e23823f)
  • added long_about to jxl codec (8a19d4b)
  • added mozjpeg encoder (7f32068)
  • added options to jpeg codec (ccd249c)
  • added oxipng encoder (4a824dc)
  • added quantization operation (25d0d78)
  • added threading to resize operation (1e89b34)
  • added webp decoder (3916d28)
  • added webp encoder (d542749)
  • cli/help: added codecs support section (8578367)
  • cli: added alpha premultiply preprocessor (33abc88)
  • cli: added avif codec (aa89db5)
  • cli: added base cli options (a22a0aa)
  • cli: added base codecs (60d9aa5)
  • cli: added base preprocessors (99d6a33)
  • cli: added mozjpeg codec (37359e2)
  • cli: added oxipng codec (9658fce)
  • cli: added webp codec (57db180)
  • cli: changed general options placement (5cf1e96)
  • cli: implemented main cli (a666dbf)
  • encoders: added exif write support for jpeg and png (fcd4f5e)
  • implemented base cli pipeline (18bcbe0)
  • preprocessors: implemented quantization operation (e527d69)
  • preprocessors: implemented resize operation (7aa016e)

Bug Fixes

  • added binary feature (ee148f1)
  • added more image formats (15aebe6)
  • bin: moved binary to root folder (f637d14)
  • cargo: updated cargo.toml (4fba401)
  • cli/windows: fixed trailing slash cmd issue (88e6b92)
  • cli: fixed clippy issue (8b5d230)
  • cli: updated features compilation (0a70264)
  • cli: updated preprocessors using traits (b8be3ff)
  • codecs: updated qtable type (5a2c2f9)
  • deps: changed dav1d dependence to lib aom (032b050)
  • deps: optimized dependencies (370f5d3)
  • fixed clippy errors (2ca79be)
  • fixed clippy errors (b2b7f79)
  • fixed clippy warnings (d98091a)
  • fixed tests for image_format (454f5c8)
  • lib: cleared lib (5d7b2c6)
  • made options values public (7d3fa3b)
  • moved cli modules to separate directory (81593d0)
  • moved encoders to separate modules (7c6816f)

v0.10.3

21 Jan 11:32
Compare
Choose a tag to compare

v0.10.3

Changes

  • Added support for all image formats that supported by image crate

v0.10.2

20 Dec 08:44
Compare
Choose a tag to compare

v0.10.2

Bug Fixes

  • fixed bug when resize option doesn't do anything

v0.10.1

19 Dec 12:10
Compare
Choose a tag to compare

v0.10.1

Changes

  • Removed unused dependencies
  • Updated readme and help section
  • Reduced size of the binary

v0.10.0

18 Dec 13:36
Compare
Choose a tag to compare

v0.10.0

Breaking Changes

  • Replaced image module: Now re-exporting the image crate, which may affect existing functionalities.
  • Refactored Decoder and Encoder: Changes in method signatures and behavior could potentially break existing code.
  • Removed support for windows-gnu targets due to full msvc support.

New features

  • Added support for musl targets
  • Added support for wasm targets (emscripten and wasi)
  • Added full support for all features on windows i686 (x86) and x86_64 targets

Changes

  • Changed codec for jxl compression. Shifted to support only lossless compression for improved efficiency and portability.
  • Integration with image crate: Refactored Decoder and Encoder modules to utilize the image crate, enhancing functionality.

Additional Notes

  • Dependencies Update: Adjusted dependencies to align with new implementations and removed outdated ones.

v0.9.1

15 Oct 19:03
Compare
Choose a tag to compare

v0.9.1

New features

  • Added previously removed --threads option when parallel feature is enabled.

Changes

  • Temporarily removed from plans stdin input due to complexity.

v0.9.0

08 Oct 16:08
Compare
Choose a tag to compare

v0.9.0

Breaking Changes

  • Library Structure Rewrite: The library structure has been entirely rewritten, resulting in no backward compatibility.

Changes

  • Output directory now works differently, folder structure only preserves with --recursive flag.
  • --format flag renamed to --codec, -f shortcut is not affected.
  • Removed stdin input, no more freezes when input files is not provided.

    Stdin input will be returned in latest releases.

  • Removed progress bar because of issues with indicatif crate.

    Progress bar will be returned in latest releases.

Refactor

  • Divided crate to separate features to improve modularity.
  • Divided Config into several parts for improved modularity.
  • Moved Codec and ImageFormat into the config module.
  • Updated the Decoder and Encoder structs with more concise interfaces.
  • Updated error messages and handling to align with the new library structure.
  • Enhanced from_path in Decoder to handle image format and orientation.

New Features

  • Introduced EncoderConfig for configuring encoding.
  • Introduced ResizeConfig for configuring image resizing (optional).
  • Introduced QuantizationConfig for configuring image quantization (optional).
  • Added fixed_orientation to Decoder to save image orientation according to EXIF tag.
  • Added -b --backup flag to backup input files in case of replacing.

Bug Fixes

  • When glob cannot find any files, files provided by user will be processed.