How Do I Compress a .JPEG File ?

ยท ยท 81 words ยท 1 minute read

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 input-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.

Share: