0c PNG JPG optimization

Created Σάββατο 18 Σεπτεμβρίου 2021


Short in one folder:

pngquant -f --ext .png --quality 70 *.png && play /home/k/backups/BOC.flac


jpegoptim -m 70 --strip-all *.jpg && play /home/k/backups/BOC.flac


//Both://

pngquant -f --ext .png --quality 70 *.png && jpegoptim -m 70 --strip-all *.jpg && play /home/k/backups/BOC.flac


//Both Recursively://


pngquant **/*.png -f --ext .png --quality 70 *.png && jpegoptim **/*.jpg -m 70 --strip-all *.jpg && play /home/k/backups/BOC.flac


PNG

oxipng
oxipng -o max -i 0 --strip safe BUILDS.png --out test.png
(13.29% decrease)


Curtail
(Lossless: 13.61% decrease)
(Lossy: 69.59% decrease)


pngquant (compress all pngs in folder)
pngquant -f --ext .png --quality 70 *.png
(Lossy: 70-75% decrease)


JPEG

jpegoptim (compress all jpgs in folder)
jpegoptim -m 70 --strip-all *.jpg
(Lossy: 70% decrease)


Curtail
(Lossless: 0% decrease)
(Lossy: 62% decrease)