You are here

Line Border 2

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
LineBorder-2.4.2.zip70.44 KB

A python conversion of my script-fu Line border script ( This version uses python-glade dialogs. It allows to create smaller and much clever input dialog and integrate much more functions. On other side, due to missing support of glade dialogs from Gimp, there is not possble to run this script in batch mode.

Current features:

  • All sizes could be specified in pixels or percents
  • Border corners and lines corners could be rounded
  • Multiple lines of text
  • Different font for eeach text
  • Texts coud be also placed on left, right or upper border
  • A watermark support (text or logo)
  • Translations (cs, nl)

If you found a bug or have a wish, please let me know. Thanks.


  • Profiles (create/update/delete/rename)
  • Fill border with pattern
  • Allow to put Exif information inside the border
  • Allow batch mode
  • Use own script parameters dialog (Glade)
  • Allow more text options (each text in different font...)
  • Large border also in % of image Angle with round (if possible) (JacqDjo)
  • Sign (text,and color) in image with choice corner (JacqDjo)
  • Put text on right border of image instead under
  • Translations


You need a gimp with python support installed.


  • Extract content of the zip archive to the ~/.gimp2.6/plug-ins/ directory
  • Make script executable (chmod og+x ~/.gimp2.6/plug-ins/
  • Script is installed under Filters/Decor/Borders/ as Line Border 2


Please follow great step-by-step guide from E. Sullock Enzlin at


a GUI:

Multiple rows of text:

Text on right border

Text on upper border, rounded cornes

An watermark logo inside the image

A watermark text inside the image

Inner corners rounded


04.01.2012 - v2.4.2

  • NL translation updated - thanks to Elmar
  • German translation added - thanks to Gudrun Schymiczek
  • Fix: Watermark image does not work

05.09.2011 - v2.4.1

  • FIX: fix Glade-3.10 issue

02.09.2011 - v2.4

  • ADD: profiles
  • ADD: Swap colors button
  • ADD: French translation (thanks to Brigitte Barbet)

03.11.2010 - v2.3

  • CHANGE: GUI improvement - Border page redesigned
  • ADD: Border corners could be rounded
  • ADD: Translations - cs, nl
  • CHANGE: correct issues with extreme values
         (e.g.: border width = 0 - a panorama style)

28.10.2010 - v2.2

  • ADD: allow to put sign/watermark inside the image

25.10.2010 - v2.1

  • CHANGE: use own glade dialog
  • CHANGE: remember plugin setting between sessions
  • CHANGE: Text could have more lines
  • ADD: posibility to place text on sides and on upper border
  • ADD: sizes could be in pixels or in percents
  • ADD: corner rounding

12.10.2010 - v2.0

  • Initial conversion to python
Code License: 
GIMP Version: 
Scripting Engine: 


"Probably, I'm only not sure, how to allow to choose the pattern. There is not such button in glade. Maybe by name."

I could have known that, I use Glade also :-)

libglade_2.6.4-1. (System 32) Shows as being registered in the Control Panel (not sure how else it would be registered). I followed your instructions for the contact sheet plug-in referred to in mkyral's post.

-I think it is not the version I have, but not sure. I can not check it now. Where can I find/download it for trying it?

-Have you also installed pygtk (>= 2.16) WITH glade support? There exist also pygtk without glade support.

I used your link for libglade.

And yes, I installed the newest (latest) version of pygtk with glade support.

Just installed the plugin and all works fine for me. I have two versions of libglade and the plugin works with both versions.

As far I can remember from long ago you could also check your search path (and order) but that is with XP, with Vista I don't know. Libglade must be placed in the system32 folder of windows. I experienced that when I place libglade in a different folder add a search path to this folder, libglade won't be found and the plugin won't work. Why I don't know.

But if this plugin is "not working" have you tried indexprint. If that plugin also not works we have to look for another place (folder) to put libglade in, which one I don't know. Unfortunately I don't have Vista so I can not help you with testing.

After double checking the System 32 folder and discovering the libglade dll file wasn't there, I switched zip archivers and finally got it extracted properly. It's working now. :)

Hm... this requirement is not acceptable, because arbitrary DLL files must not be placed into system directories.

On Windows XP, the library can cbe put into GIMP's bin directory and the plug-in works as expected. On Vista and up, it may be nec essary to verify that File Virtualization isn't causing problems (i.e. the file is not really placed where it seems to be).

I agree with schumaml, arbitrary DLL files should not be placed into system directories. I have moved libglade to the gimp's bin folder and both plug-ins, indexprint and lineborder, are working correctly. I will change the installation procedure at the indexprint node.

installation procedure updated

I moved libglade.dll to the application bin folder. The plug-in is working fine in Vista. Thanks for your help. :)

That should be correct.
At the moment I cannot test the plugin to see if the problem is elsewhere, you have to wait a couple of hours. I will test it on a XP machine I don't have Vista.


Subscribe to Comments for "Line Border 2"