69
11
I want to draw a box around a portion of my graphic for the purpose of highlighting it.
How can I do that?
69
11
I want to draw a box around a portion of my graphic for the purpose of highlighting it.
How can I do that?
63
Use the rectangle selection box, and under the Edit menu, hit Stroke Selection. Select your options from there.
50
Select Filters > Render > Gfig...
From there you can draw boxes and other shapes boxes in various styles.
1Doesn't work for me. Gfig opens a dialogue box with a whole bunch of things inside, none of which are clickable. It all just seems to be disabled. The only UI element that worked on that box was the close button. – geoidesic – 2018-11-13T14:37:27.083
@geoidesic I can confirm it working for Ubuntu 18.04.1 using GIMP 2.10.8 – k0pernikus – 2018-11-15T11:11:10.127
Actually I've noticed a few other dialog boxes suffering from the same problem on Mac OS X Mojave. Alt tabbing a few times seems to unblock the dialog box and allows one to edit. – geoidesic – 2018-11-15T15:29:09.433
It works, but strangely. For example, I draw a square box in a picture and the box does appear, but smaller then what is drawn in the preview. Nothing seems to fix it. – Roel Van de Paar – 2019-05-31T07:38:50.903
It's really hard to select location accurately from that small preview box. – Jaakko – 2020-01-27T08:53:05.163
26A great tool, buried where no one would look. Dumb Gimp. – Grant Birchmeier – 2013-05-01T14:50:43.863
9
Use the box select tool, then Select >> Border This selects around your current selection's outline (dotted animated line), at a distance of however many pixels you enter in the dialog box on either side of original line. i.e. if you use 5 for Border's input value, you will have a 10 px wide border selected. Then fill it in with paint bucket. You now have a box. Or... fill a layer with any colour, pattern, gradient, image etc., and use the selection to create a black box in a white layer mask using the same selection. Select all on layer mask, and gaussian blur a bit. That will give you a blurred border, using whatever image is on the layer. Everything that is black on the layer mask will be transparent to the layer below. Using this image as the main layer, I created a thick blurred border, but started with a circle selection instead of a square. I also did a border select on the original border select (after filling in layer mask) to blur the edges of my new border, and not the whole border.
Original:
New Border
Example using black layer instead of image, and rounded corners.
2no, no, no ... too many politics :) – CEO at Apartico – 2016-03-11T04:07:03.593
lol this made me crack up at work xD – Katie – 2016-08-12T18:00:27.697
This tells you what you can do, but not how to do it :-| – geoidesic – 2018-11-13T14:33:52.703
This answer is wrong, you can't fill a selection with the paint bucket. Once you click the paint bucket tool, the selection disappears. – geoidesic – 2018-11-15T15:31:06.463
It also says "use the selection to create a black box in a white layer mask" but it doesn't tell you how. Select just draws a selection, it doesn't allow you to "create a black box in a white layer mask". If we knew how to "create a black box" then we wouldn't be asking this question! – geoidesic – 2018-11-15T15:32:48.730
16@Michael GIMP can do anything Photoshop can do… But with one of the worst GUI/user-experiences ever. – JakeGould – 2015-02-03T23:53:45.633
18GUI of GIMP is a disaster. I simply can never find the buttons to do whatever I need to do. Having to Google how to make a rectangle says it all I think! – JohnyTex – 2015-03-25T10:45:41.253
How about gimpShop? Can that be something? – JohnyTex – 2015-03-25T10:53:04.350
Unfortunately there's no Paint.Net for Linux :( – Ethan – 2016-01-22T21:07:21.000
5GIMP is a powerful piece of software and as such has a pretty steep learning curve.
For quicker, easier tasks I would recommend Paint.Net. Think of it as MSPaint++. – Michael – 2010-07-27T13:02:03.363
I've never used Paint.Net myself, but have heard nothing but praise about it. – Aeo – 2010-07-28T16:06:34.233
paint.net is propitiatory non-free-software. – ctrl-alt-delor – 2017-02-25T11:13:51.007
2@JohnyTex I also find the GIMP UI disgusting to an extreme, but, in all fairness, drawing a box in Photoshop isn't all that straightforward as well. – Marc.2377 – 2017-07-11T23:48:17.287
Kolourpaint is very close to paint on Ubuntu. – JohnyTex – 2017-07-17T08:40:41.190
Doesn't work for me. The Stroke Selection option is greyed out. @Marc – it's dead-easy in photoshop... choose the shapes tool (make sure it's a square using long click), then draw your square. What could be easier? – geoidesic – 2018-11-13T14:33:00.310