In various occasions, it is useful to update in one shot a batch of images. This operation takes a few minutes to setup using the Batch image manipulation plugin for the GIMP.
In only a few clicks, it is possible to update as many images as you want – resize, change format, …
First of all, download and install the GIMP Batch image manipulation plugin [1] – assuming, of course, that you already have installed the great GNU Image Manipulation Program, the GIMP [2]
You can then start The GIMP, and launch the Batch image manipulation plugin from GIMP File menu.
As an example, let’s optimize a batch of ~15 000 images of all kind (jpg, png, …), totalling ~1.5GB. Two operations will be necessary : resize the images, and save them in jpg format.
Fig 3 : BIMP, Batch Image Manipulation plugin for GIMP – select change format and compression actionFig 4 : BIMP, Batch Image Manipulation plugin for GIMP – change format and compression action to jpg options
Check the “Keep folder hierarchy” option in case you have subfolders. Your resulting images in your output folder will follow the same hierarchy. It is as simple as using a different folder in the web script, upload the pictures and the script, and it is done.
Fig 7 : BIMP, Batch Image Manipulation plugin for GIMP – folder status before processingFig 8 : BIMP, Batch Image Manipulation plugin for GIMP – folder status after processing
Fig 9 : Google Page Speed – Score before image optimization of 17 on mobileFig 10 : Google Page Speed – Score after image optimization of 51 on mobileFig 11 : Google Page Speed – Score before image optimization of 35 on desktopFig 12 : Google Page Speed – Score after image optimization of 59 on desktop