Re: Tweaking Xubuntu!
Here's a script and custom action I use to resize with convert. I could have made it more complicated (e.g. size choices etc with zenity) but instead I just added 2 or 3 of my most converted to sizes as individual custom actions.
Command in custom action:
Code:
/home/user/320.sh %F
bash script in ~/home/user/320.sh:
Code:
#!/bin/bash
for i in "$@"
do
convert "$i" -set filename:original %t -bordercolor black -border 1 -resize 320x 320x-%[filename:original].jpg
done
This script will create a new file, resizing the image to 320px wide whilst maintaining the aspect ratio for the height, and putting a thin black border around the image. edit to suit.
Or you can use gThumb's (now installed by default in 11.10) resize Tool
Last edited by Jose Catre-Vandis; October 20th, 2011 at 12:59 AM.
No longer participating......
Bookmarks