How to add a simple border into an image in GIMP


I'm very new to GIMP and found that doing simple stuff in GIMP is much harder than it should be.

All I want to do is add a simple black border around an image layer. I have added this image using the "Open as Layers" option (as I have many images in one document!), but can't seem to find an option to add a border around the image.

Please help!

9/14/2015 7:03:00 PM

Accepted Answer

Go to Filters -> Decor -> Add Border...

Then choose your border settings

border settings

From the GIMP help files

Border X size, Border Y size Here you can select the thickness of the added border, in pixels. X size (left an right) and Y size (top and bottom) may be different. Maximum is 250 pixels.

Border color Clicking on this button brings up the color selector dialog that allows you to choose an “average” border color (see below, Delta value on color).

Delta value on color This option makes the border sides to be colored in different shades and thus makes the image to appear raised. The actual color of the respective border side is computed for every color component red, green, and blue[15] from the “average” Border color as follows (resulting values less than 0 are set to 0, values greater than 255 are set to 255):

Top shade = Border color + Delta

Right shade = Border color - ½ Delta

Bottom shade = Border color - Delta

Left shade = Border color + ½ Delta

9/14/2015 2:50:00 PM

For an individual layer:

  • Select->All
  • Edit->Stroke Selection
  • Choose line style, width->Stroke

By default the stroke color is the foreground color