Need help with cjpeg-dssim?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

technopagan
196 Stars 11 Forks 8 Commits 6 Opened issues

Description

Instead of relying on the non-standardized quality metric for JPEG compression, let's make use of a dissimilarity check to hone in on an optimal quality setting for each JPEG to be compressed

Services available

!
?

Need anything else?

Contributors list

# 231,544
webperf
webperf...
Shell
CSS
8 commits

cjpeg-dssim

Introduction

Automatically find the ideal JPEG quality setting for a JPEG image by calculating the output images dissimilarity from the input JPEG. This frees us from having to rely on the unstandardized quality integer.

Installation instructions

Place this script anywhere in your $PATH. Requires Bash >= 4.x

Required tools

  • ImageMagick >= v.6
  • dssim - https://github.com/pornel/dssim
  • jpegoptim - https://github.com/tjko/jpegoptim
  • mozjpeg - https://github.com/mozilla/mozjpeg

CLI usage example

cjpeg-dssim jpegoptim /path/to/input-image.jpg

Supported encoders: * jpegoptim * mozjpeg

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.