Reduce file size of images in Linux
This is a quick and dirty method that is going to lose quality of an image, and all metadata. Do this if you're just in a hurry to share something without full info. It will replace the input file, so do this only on a copy!
jpegoptim --max=85 --strip-all input.jpg
References
Straight from Reduce File Size of Images in Linux - CLI and GUI methods | DigitalOcean
Comments