Kilian / Trimage

A cross-platform tool for optimizing PNG and JPG files.
http://trimage.org
MIT License
706 stars 55 forks source link

CLI quiet option isn't very quiet #88

Open rootwork opened 3 years ago

rootwork commented 3 years ago

Using the CLI with -q or --quiet doesn't seem to have any effect, at least in some situations.

trimage file.jpg

qt5ct: using qt5ct plugin
 pngcrush 1.8.13, uses libpng 1.6.36 and zlib 1.2.11
 Check http://pmt.sf.net/
 for the most recent version.
qt5ct: D-Bus system tray: yes
File: file.jpg, Old Size: 300.7KB, New Size: 300.7KB, Ratio: 0.0%

trimage --quiet file.jpg

qt5ct: using qt5ct plugin
 pngcrush 1.8.13, uses libpng 1.6.36 and zlib 1.2.11
 Check http://pmt.sf.net/
 for the most recent version.
qt5ct: D-Bus system tray: yes
File: file.jpg, Old Size: 300.7KB, New Size: 300.7KB, Ratio: 0.0%

I'm not sure how much of that is coming from QT/is configurable vs pngcrush or Trimage, but as you can see even Trimage's file size savings aren't being suppressed.

Running in Linux Mint (Ubuntu/Debian) 20.2 using Z shell.