0

With GIMP, I want to draw a rectangle so I follow the documentation: 14.2. Creating a Basic Shape. I get the expected result.

Then I close the *.xcf file and re-open it. The selection is still active (as you can see in the screenshot below).

Problem: I can't modify or remove the border.

Any suggestion to solve this? Thanks!

enter image description here

5
  • I can't reproduce the problem. Any chance you could share the XCF file?
    – Billy Kerr
    Commented Aug 16, 2021 at 20:26
  • mediafire.com/view/fd8r25o3f2spsvq/selection_border.xcf/file (the link is likely to be valid only for the next 14 days, starting on 2021 August 20th)
    – Bktero
    Commented Aug 20, 2021 at 7:11
  • Thanks. After opening I see nothing wrong here at all. GIMP is just showing the last selection you made. To fix it do Select > None, and resave. As for the thick yellow stroke, nothing you can really do to remove that since it's not on its own layer. If you want to be able to change things later, make sure you put edits on layers so you can easily edit or remove them later.
    – Billy Kerr
    Commented Aug 20, 2021 at 8:53
  • My problem is that I can remove the yellow stroke (even if the selection is still the same as before closing the file)
    – Bktero
    Commented Aug 20, 2021 at 12:08
  • You can't remove the yellow stroke because it's all on the same layer - it's part of the image. So it can't be done. Sorry. You'd need a layered file - but that's not what you've got. Go learn about GIMP layers and how they work. Find beginner tutorials on youtube. This is really basic stuff.
    – Billy Kerr
    Commented Aug 20, 2021 at 12:46

1 Answer 1

2

The selection is part of the image, so it is saved with the XCF (there are many cases where it is useful...). If you don't want it, do Select > None before saving (or after reloading).

The border is easy to remove if you draw it on its own, initially transparent, layer (which in your case could be just adding the layer before doing Edit > Stroke selection) Then as long as you keep the layers distinct (in other words if you don't "flatten" the image, but you normally don't need to do this, it is flattened implicitly when you export to JPG/PNG), you can remove the border by removing the layer on which it was painted (or just making that layer invisible).

In other words, to obtain this:

enter image description here

You do this:

enter image description here

4
  • Unfortunately, I came to this conclusion... So I have reworked my original image again, but this time I have added a second layer to draw my selection. Thank you for your reply.
    – Bktero
    Commented Aug 20, 2021 at 7:13
  • Additional question: how doyou create such a view of your layers? :o
    – Bktero
    Commented Aug 20, 2021 at 7:14
  • 1
    See ofn-perspective-stack
    – xenoid
    Commented Aug 20, 2021 at 9:43
  • Thanks! I will try it!
    – Bktero
    Commented Aug 20, 2021 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.