User Tools

Site Tools


optimize_jpg_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
optimize_jpg_files [2020/10/04 17:35]
dino created
optimize_jpg_files [2021/02/21 00:46] (current)
Line 1: Line 1:
-**Install jpegoptim** +**Install jpegoptim** \\
 sudo apt-get install jpegoptim sudo apt-get install jpegoptim
  
-**How to compress a file**+ 
 +**How to compress a file**\\
 jpegoptim filename.jpeg jpegoptim filename.jpeg
  
  
-**To compress above the image from 5.6MB to around 500k.**+**To compress above the image from 5.6MB to around 500k.**\\
 $ jpegoptim --size=500k filename.jpeg $ jpegoptim --size=500k filename.jpeg
  
-**Compress all images at once.**+**Compress all images at once.**\\
 jpegoptim *.JPG jpegoptim *.JPG
  
optimize_jpg_files.txt · Last modified: 2021/02/21 00:46 (external edit)