Page 1 of 1

Image optimization

Posted: Thu Oct 17, 2019 12:12 pm
by colin_b
If anyone is interested in reducing the file size of JPG & PNG files give https://tinypng.com/ a shot.

It works well for me.

Re: Image optimization

Posted: Thu Oct 17, 2019 9:37 pm
by putih
I use trimage. Internet connections not require.

Re: Image optimization

Posted: Fri Oct 18, 2019 6:21 am
by Buck Fankers
colin_b wrote: Thu Oct 17, 2019 12:12 pm If anyone is interested in reducing the file size of JPG & PNG files give https://tinypng.com/ a shot.
It works well for me.
Every time you upload picture somewhere, that company usually takes ownership of it. Plus they get some info about you, they can resell. I always first strip metadata from any picture I'm sending it by email and I never upload it to any service.

I created two thunar custom actions for this, first one removes/strips all info from pictures: (you need to install exiftool)

Code: Select all

exiftool -all= -overwrite_original * .
For compressing pictures I set thunar custom action with this command (you need to install imagemagic)

Code: Select all

for file in *.*; do convert $file -quality 10 compressed-$file; done
One right click you remove ll metadata, next right click, you compress them all. Simple, fast and no internet tech company that is after your life data one gets your pictures :-)

Re: Image optimization

Posted: Fri Oct 18, 2019 6:36 am
by oops
Or
Jpegoptim (sample: to a folder, and with 4 cores here)

Code: Select all

mkdir compressed-jpegoptim
 jpegoptim -d ./compressed-jpegoptim -p -m80 *.jpg | xargs -P 4