18.01.2020 Views

Working with Linux

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Alright, now let's try and do the same thing for JPEG images.

For this, we'll install the equivalent of pngquant, which is jpegoptim:

sudo apt install jpegoptim

We will call it the same way and we're just going to give it a command-line argument, which is the

file to shrink. Let's pick some random images to try and see if we can reduce their size:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!