Skip to content

0.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jul 11:56
· 43 commits to master since this release

Added

  • Output grayscale JPEGs when possible. These are smaller than color JPEGs.
  • Add background color if output format doesn't support transparency. Set the background color using --background-color option.
  • Handle Exif orientation of input file. Rotate and flip the image data accordingly.
  • Add --spread option to configure quality spread. For example --quality 80 --spread 10 will target JPEG quality of 80 with the minimum quality of 70 and maximum quality of 90.

Changed

Removed

  • --input-format option is not needed anymore because input format is automatically detected based on magic number.

Fixed

  • Support non-UTF-8 filenames