imgmin, reduces the weight of JPG images

Original image:

One of the problems we may encounter with images is their weight. Of course, there will be photos that we want to save with the highest possible quality, but there are many times when this is not necessary. The problem when we want to download a bit of quality to an image is that we don’t know how much we can download without it being noticed too much, but this problem can be solved with imgmin.

imgmin is a project that aims to solve this problem. How would you do that? so calculating math and automatically how much you can download the weight of an image without you noticing that we have edited it. Best of all, users will only have to use one command for this little tool to do all the work for us. Here’s everything you need to know.

imgmin is the result of extensive research work. It uses a mechanism of without loss of quality (Lossless) to generate optimized images by manipulating blocks of pixels. Here’s how to install it.

Installation and use of imgmin

To install imgmin just open a terminal window and type the following commands:

sudo apt-get install -y autoconf libmagickwand-dev pngnq pngcrush pngquant
git clone
cd imgmin
autoreconf -fi
sudo make install

Using this little tool couldn’t be simpler. What we need to do is use the following command:

imgmin original.jpg optimizada.jpg

Of course, I think it’s important to explain that you need to enter the full path of each image. An easy way to fix this is to leave them on the desktop, open the terminal, enter the Desktop folder (in my case it’s using the command cd Desktop) And then already enter the order. Of course, we must change the names “original” and “optimized” by the name of the image to which we want to lower its weight and the output image.

If you’ve tried it, what do you think of imgmin?


Related Posts

Next Post

Leave a Reply

Your email address will not be published. Required fields are marked *

You might also like

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.