Compressing images for the web can gain you a lot more web page load speed. There are many ways to achieve this task but I will be focusing on the CLI method.
Image Magick Package
If you don’t have the Image Magick Package installed on your system:
For more tips on using this compression tool: