It is currently 07 Mar 2021, 11:27
| ||||
| ||||
|
|

How do I crop bottom layer around top layer? - SOLVED

How do I crop bottom layer around top layer? - SOLVED
Is there a way that I can crop a bottom layer (for instance, a photo) by using the outer edge (but not any inner edges) of a non-rectangular top layer (for instance, a frame) as the cropping template? I'm sure I'm overlooking something simple, but I'm not seeing it. Stated another way, I have two layers, a frame (layer 1) and a photo (layer 2). I positioned the frame over the photo, and now I want to crop the photo around the outside of the frame (while keeping the frame itself). The frame is not completely rectangular (it has a "ripped paper" edge), so I can't simply crop the photo to the dimensions of the frame.
Last edited by enxio27 on 16 Mar 2020, 19:40, edited 1 time in total.
GIMP Learn rocks...
I don't know if I understood.
If you use the fuzzy select tool to select the interior of the frame, in layer 1. Then invert the selection and select the photo layer to delete the selection. Does it work?
If you use the fuzzy select tool to select the interior of the frame, in layer 1. Then invert the selection and select the photo layer to delete the selection. Does it work?
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
Something like this: a frame with a deckled edge, sort of old fashioned photo look....I positioned the frame over the photo, and now I want to crop the photo around the outside of the frame (while keeping the frame itself). The frame is not completely rectangular (it has a "ripped paper" edge), so I can't simply crop the photo to the dimensions of the frame....

You can do a fuzzy selection on transparency same as colour, but you might need some adjustments.
This is one one way. There are others. All standard Gimp tools, all good practice.
https://youtu.be/G8W1dRk2sEs duration 1 min 23 secs.
I finished this procedure by trimming the canvas down to size but this sort of border works well with a drop shadow. You might want to consider that.
An alternative way is using layermasks but a subject on its own

@Krikor @rich2005 I combined instructions from both of you, and it worked like a charm! I got the best results by fuzzy selecting the inside of the frame, inverting it, and then making my cut. When I tried it by selecting the outside of the frame, I got a 1-pixel remnant of the photo around the outside of the frame and couldn't figure out how to get rid of it. Many thanks to you both!
GIMP Learn rocks...
That often happens when selecting a background for example, the common solution is grow the selection by a pixel or two....When I tried it by selecting the outside of the frame, I got a 1-pixel remnant of the photo around the outside of the frame and couldn't figure out how to get rid of it.
I tried to grow it after the fact, but it didn't work very well. Didn't think of trying to grow it beforehand.rich2005 wrote: ↑16 Mar 2020, 21:05That often happens when selecting a background for example, the common solution is grow the selection by a pixel or two....When I tried it by selecting the outside of the frame, I got a 1-pixel remnant of the photo around the outside of the frame and couldn't figure out how to get rid of it.
GIMP Learn rocks...
Here is the result. I thought y'all might like to see it.
GIMP Learn rocks...
| ||||
| ||||
|
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2 Replies
- 1829 Views
-
Last post by sweeneyMark
19 Jun 2020, 13:21
-
- 6 Replies
- 5835 Views
-
Last post by enxio27
22 Mar 2020, 23:18
-
- 7 Replies
- 3149 Views
-
Last post by tim
01 Apr 2020, 18:59
-
- 1 Replies
- 1561 Views
-
Last post by tim
10 May 2020, 18:28
-
- 0 Replies
- 2061 Views
-
Last post by Pocholito
23 May 2020, 02:49
-
- 0 Replies
- 1207 Views
-
Last post by RJKD
02 Oct 2020, 13:21
-
- 1 Replies
- 452 Views
-
Last post by tim
03 Nov 2020, 19:17
Who is online
Users browsing this forum: No registered users and 14 guests