2016-10-03

Easy jpeg compression from command line

An tool to easily compress jpegs to a target filesize is:

jpegoptim --size=250k tecmint.jpeg
If not installed, do this:

sudo apt-get install jpegoptim

Source:
http://www.tecmint.com/optimize-and-compress-jpeg-or-png-batch-images-linux-commandline/