[Gimp-user] Second try at Re: select region inside a rectangle
Adrian Dusa wrote: > > I'm a Gimp newbie, using it for a long time but at an amateur level. > > I have the following (hopefully simple) problem: given two rectangles > with a common border, is there a way to select the region *inside* one > rectangle (to fill it with another color), without affecting the > contents of the other rectangle? > I left a couple steps out of the one I sent privately, but this one is, (I think) more elegant anyway. 1) Add an alpha channel to the image. 2) Select the border using the "select by color" tool. 3). Cut out the border, paste it into a new layer, and hide the new layer. 4). In the base layer, invert the selection, using Select > Invert. 5). Choose your color, and fill the desired rectangle. 6) Unhide the new layer, and Merge the layers together. 7) flatten image. ns ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Second try at Re: select region inside a rectangle
Noel Stoutenburg wrote: > Adrian Dusa wrote: > >> I'm a Gimp newbie, using it for a long time but at an amateur level. >> >> I have the following (hopefully simple) problem: given two rectangles >> with a common border, is there a way to select the region *inside* one >> rectangle (to fill it with another color), without affecting the >> contents of the other rectangle? The steps I outlined work for your attached image of two white rectangles surrounded by black lines. Depending upon the details of the actual images with which you are working, you might be able to make it work with more or fewer steps, but the principle should still hold. ns ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Second try at Re: select region inside a rectangle
Thanks very much to everyone, I have a great experience learning new tricks :) I am posting at quite a few lists, and this one is one of the most helpful and friendly. Cudos to you all, Adrian On Monday 02 February 2009, Noel Stoutenburg wrote: > Noel Stoutenburg wrote: > > Adrian Dusa wrote: > >> I'm a Gimp newbie, using it for a long time but at an amateur level. > >> > >> I have the following (hopefully simple) problem: given two rectangles > >> with a common border, is there a way to select the region *inside* one > >> rectangle (to fill it with another color), without affecting the > >> contents of the other rectangle? > > The steps I outlined work for your attached image of two white > rectangles surrounded by black lines. Depending upon the details of the > actual images with which you are working, you might be able to make it > work with more or fewer steps, but the principle should still hold. > > ns > ___ > Gimp-user mailing list > Gimp-user@lists.XCF.Berkeley.EDU > https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd. 050025 Bucharest sector 5 Romania Tel.:+40 21 3126618 \ +40 21 3120210 / int.101 Fax: +40 21 3158391 ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user