Donal, Donal O Caoimh

Gimp Copyright Frame with White Inner Border

June 23rd, 2009 Posted in Photography, Programming

Last weekend I finally got around to editing Donncha’s script for adding a border using Gimp to suit my own needs.  I like to have a white inner border with the copyright text in the white border.   Click here to get the .scm file.

You can check out Donncha’s post for details on how to change this script for your own purposes but the change I made was to add the donal-draw-white-frame function which is then made invisible by setting the opacity to zero.  I also increased the inFrameWidth variable to 10 as I wanted a bigger space for the text. I used to use a width of 5 pixels for the black border but I’m happy enough with the 10 pixel black border.  I also used to have letter spacing of 1 for the copyright text but I couldn’t figure out the gimp_text_layer_set_letter_spacing () function but life’s too short!  If you know how to do this, please let me know in the comments.  Still, with a little compromise, I think this is going to save me a lot of time when editing photos.

I’ve also finally set up my shortcuts properly on Gimp so a quick re-size, run script, save as and I’m done.

Mr Toons at Cork SPWC

Related Posts on

  1. 2 Responses to “Gimp Copyright Frame with White Inner Border”

  2. By James on Jul 1, 2009

    Cannot see the output with borders or copyright text.

    What am I missing to do?

    Original Picture Size = 4288 x 2848

    New Picture Size = 4292 x 2875

    I can’t tell the size got bigger, since I only see the original picture, but on the window title it says the picture is bigger by 4 x 27.

  3. By Donal on Jul 1, 2009

    @James: I should have stated that I resize my photos to 460 pixels on the longer side so that usually gives me an image of 460X307. After running this script, I’m left with an image of 500X347.

    If you want to add a border to an image this size, you’ll have to play around with the size of the inFrameWidth. It’s an absolute size rather than proportional as it’s meant to be set up once and used based on your requirements.


Post a Comment