Value In Brief – by Abanoub Hanna
All You Need To Know Explained In Brief

How Do I Compress a .JPEG File

Tutorials

Use A Web App

Navigate to compressor.io or squoosh.app and upload the image to compress it for free. Then downlad the compressed / optimized version of the image.

Use FFMpeg on Terminal / CLI

Open terminal in Mac OS or Any Linux distribution (Ubuntu, Elementary, ..) and use this command.

ffmpeg -i inupt-image.jpeg -q:v 10 output-image.jpg -y

make sure to replace input-image.jpeg with your image. And rename output-image.jpg to any name you want your compressed image to be called.