Python library to perform (lossless) images optimization using external tools