View Single Post
Old 06-25-2013, 12:32 PM   #7
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Hi

This Linux bash script let you bulk resize jpg images to a 600x800 pixels resolution. It creates a new folder named "reduced". It can be launched by a right click (nautilus-script or similar). It uses convert from Imagemagick.

If you wish a different resolution or apply it to a different image format, open the script and change the relevant information.

Spoiler:

#!/bin/bash


mkdir reduced
for FILE in *.jpg


do
convert "$FILE" -resize 600x800\> reduced/"$FILE"
done

echo "Terminé"
zenity --info --text "Terminé"

exit 0;
roger64 is offline   Reply With Quote