Batch image resizing in Ubuntu
Linux
One of the things I have found lacking is the image resizing tools available to me through the Ubuntu repositories. Until now, I had always used Gimp to scale an image which worked fine, but really didn't make me happy when I needed to resize a ton of pics.
Browsing through the ubuntuforums recently, I came across a mention of a batch resize script that could be used in Nautilus, via a right-click > scripts contextual menu. Obviously, this sounded perfect since I really wanted something to work like the Windows Power Toys image resizer tool.
I never knew this was possible (I learn new stuff every single day I use Linux) but you can create scripts, make them executable, and drop them in the /.gnome2/nautilus-scripts/ directory and just grab at them by right clicking while in Nautilus.
Anyways, back to the script...
Basically, ALL you have to do is download this script, make it executable and drop it in the right place.
NOTE: For some reason the "+" sign is lost in the codeShare process... the chmod line should read: chmod u+x Resize_images
ANOTHER NOTE: I didn't have to install rename for this to work, good thing too. It wasn't in the repos!
Now, go into the folder that contains the images you want, select 1-All, right click and go to Scripts and click on the one called 'Resize_images'.You will be presented with a selction of resize options, pick the one you want and click OK.
Another great thing about this script is that it places the resized images in a new directory instead of resizing the originals.
Here is the blog where I found the info for this script








Loading....