It’s about time I released this script. I announced last December I had written a script for the GIMP to create the border and copyright message seen on my photos here.
Previously I used a 704×490 empty image with the border and message (and a similar image for portrait shots). That was fine for uncropped images but if the width by height ratio was different I had to edit the frame and resize bits. Took ages.
This script creates a thin black border around the image, then adds a white border at the bottom. Finally the copyright text and url are printed in the white border.
Border and text sizes are hard coded but the script will work for any size image. Currently they’re more suitable for the web size images uploaded here.
Looking for the script? Download copyright-frame.scm and copy into .gimp-2.6/scripts/ and start GIMP. The script adds a menu item at “Image->Filters/Decor/Copyright Photo Frame…” The script is based on one written by Alexios Chouchoulas and distributed as part of the GIMP FX Foundary.
When you run the script the border and message is added without further interaction. A dialog to modify the hard coded size values isn’t really necessary because the images I upload are all around the same size. Clicking “OK” each time the script runs is hardly productive. If you want to modify the values, you’ll have to edit the script.
To change the size of the text, look for
(TextLayer (car (gimp-text-fontname inImage -1 (- theWidth 230) (- theHeight 18) “Donncha O Caoimh, http://inphotos.org/” 0 TRUE 11 PIXELS “Sans”)))
230: the number of pixels from the right where the message starts.
18: pixels from the bottom of the image where the top of the message hits.
11: size of the font used for the message.
Change the copyright message to suit your own circumstances.
To change the size of the white bottom border, look for the code
(+ theHeight 23) and change 23.
If you use this script please link back here. I’d love to see what’s done with it!Tags: border, copyright message, Gimp, irishblogs, script-fu, signature, Words