Automatically re-size graphics and brand ?
Brian Puccio
brian at brianpuccio.net
Tue Jan 24 10:50:34 UTC 2006
On Tue, 2006-01-24 at 10:31 +0000, Darren Wyn Rees wrote:
> I wonder if the following is possible with Ubuntu. I'm currently
> doing
> it laboriously with proprietory software :
>
> Process a collection of photographs in a directory ...
> * Automatically re-size the photographs to a pre-set size
> * Add a 'stamp' or some sort of copyright image on the bottom
> right corner of the image
Use Nautilus Scripts! I currently have a bunch for image editing, mainly
converting between formats and resizing. For more information, check out
the website: http://g-scripts.sourceforge.net/faq.php
I believe imagemagick is installed by default so you should have that.
An example script of mine is to convert to a PNG:
#!/bin/bash
while [ $# -gt 0 ]; do
picture=$1
png_file=`echo "$picture" | sed 's/\.\w*$/.png/'`
/usr/bin/convert -quality 95 -depth 8 "$picture" png:"$png_file"
shift
done
Using the documentation at the imagemagick website, you can put together
a small script to resize images, add a copyright notice, etc.
Specifically, look at this page:
http://www.imagemagick.org/script/convert.php
Now all you have to do is browse to the folder, select the images, and
run the script.
(Nautilus Scripts aren't limited to just image editing, you can automate
most anything with them.)
--
brian at brianpuccio.net
GPG Key ID 0xBBD2401F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060124/0154ae30/attachment.sig>
More information about the ubuntu-users
mailing list