How to compress images without losing quality

I'm looking for a way to compress images in bulk without losing quality to improve the website loading speed. I'm working with surprisegenie.comand as it's a unique gifting platform so have so many images on it. Upon checking website health many reports pointing on the image size issue which causing time in loading pages.

So, what we can do to compress images without losing quality?

3 Answers

The very powerful command line utility convert allows extremely high quality bulk image processing.

Your only option to compress images without loosing any quality is keeping the image intact, and compress it using lossless compression.

However, that may not be what you are after. You refer to a website, and a concern of quick loading. If you want to address that issue, you probably will need to accept loosing some quality. There is limited scope to reduce image file size without loosing quality.There is huge scope to reduce image file size for websites without loosing perceptial quality, i.e., without noticing the loss in quality compared to showing the original image on the same website.

If, unless what you ask, the above has persuaded you that you are prepared to "loose some quality" nevertheless, then

  1. Reduce the resolution of the image to match the resolution of a computer screen.
  2. Use lossy jpeg compression. Tune the compression to achieve maximum compression without introducing unacceptable quality loss.

Depending on the original resolution of your graphics, that may reduce the file size to a tiny fraction of the original, without anyone noticing on the website except for the immediate loading.

convert is perfectly suited for these tasks, and can be automated for bulk processing.

1

save/ export/ compress image in to *.png. This is lossless format. You can use GIMP, Rawtherapee or other available software.

You can use Curtail to compress images offline. You can select the level of compression, and also bulk compress images.

image

It can be installed via flatpak or PPA.

PPA

Enter the following commands to add the PPA to your system. It supports Ubuntu 18.04 and later versions.

sudo add-apt-repository ppa:apandada1/curtail
sudo apt update
sudo apt install curtail

Flatpak

flatpak install flathub com.github.huluti.Curtail

Disclaimer: I am not the author of this app, but I maintain the PPA.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like