github SalOne22/rimage v0.9.0

13 months ago

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.

Don't miss a new rimage release

NewReleases is sending notifications on new releases.