In this tutorial we will learn how to use pngquant to reduce the size of .png images in Linux. Especially useful for those we need to place on a website or in a PlayStation game.
Let's get started:
- The first thing to do is to download the utility from Pngquant.org/releases.html. Open a terminal, go to the directory where the file is and type our first command:
sudo dpkg -i pngquant_version_del_archivo.deb
- This command will create a folder "pornel-pngquant-version_of_the_file". We go inside it and type to install the utility:
sudo make install
- Once installed, to use it you have to go to the folder where the image is and type:
pngquant nombre_de_la_imagen.png
- If there are several images in the folder we can use:
pngquant *.png
Pngquant will create the optimised files with the file name ending "-fs8.png", leaving the originals intact. For more options, you can visit Pngquant.org or the Github.com/pornel/pngquant page.



2 responses to "Tutorial on how to use Pngquant in Linux".
Information Bitacoras.com
Valora en Bitacoras.com: Tutorial using Pngquant in Linux In this tutorial we will learn how to use pngquant to reduce the size of .png images in Linux. Especially useful for those that we need to place on a website or in a PlayStation® game, we will learn how to...
[...] PNGQuant to reduce the size of png images: https://fortinux.com/en/tutoriales/tutorial-usar-pngquant-en-linux/ [...]