Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Snap to Layer Edges or Boundary
#1
In Photoshop, there is Snap to Layer option, to snap the cropping to an edge of a layer.

In GIMP, we can use Layer > Crop to Content to crop based on a layer boundary, but there is no option to snap the cropping to an edge of a layer.

Please check the screenshot below and see the layer with a red rectangle in it:

Layer Example

How to snap the cropping to the bottom edge of the layer, since there is no Snap to Layer option?

We can do this easily in Photoshop:

Snap to Layer Feature in Photoshop
Reply
#2
Someone else will be able to explain it better than me but you will find that if you use the crop tool options you can. Prolly just a different wording than snap is all.

Smile
Reply
#3
I think this is what you searching for, in the gimp menu : View / Snap to Canvas Edges
Reply
#4
(12-14-2022, 03:37 AM)gotanidea Wrote: In Photoshop, there is Snap to Layer option, to snap the cropping to an edge of a layer.

In GIMP, we can use Layer > Crop to Content to crop based on a layer boundary, but there is no option to snap the cropping to an edge of a layer.

Please check the screenshot below and see the layer with a red rectangle in it:

Layer Example

How to snap the cropping to the bottom edge of the layer, since there is no Snap to Layer option?

We can do this easily in Photoshop:

Snap to Layer Feature in Photoshop

What kind of came to mind was:

1- Create guides delimiting the layer.
   
2- Use the Crop Tool with the option 'Snap to Guides' enabled.  Crop
   
                               .....
Samj PortableGimp 2.10.28 - Win-10 /64.
Reply
#5
(12-14-2022, 04:34 AM)sallyanne Wrote: Someone else will be able to explain it better than me but you will find that if you use the crop tool options you can. Prolly just a different wording than snap is all.

Crop Tool has no option to snap to an edge of a layer

(12-14-2022, 08:05 AM)denzjos Wrote: I think this is what you searching for, in the gimp menu : View / Snap to Canvas Edges

It's just for snapping to canvas edges, not an edge of a layer

(12-14-2022, 11:16 AM)Krikor Wrote:
(12-14-2022, 03:37 AM)gotanidea Wrote: In Photoshop, there is Snap to Layer option, to snap the cropping to an edge of a layer.

In GIMP, we can use Layer > Crop to Content to crop based on a layer boundary, but there is no option to snap the cropping to an edge of a layer.

Please check the screenshot below and see the layer with a red rectangle in it:

Layer Example

How to snap the cropping to the bottom edge of the layer, since there is no Snap to Layer option?

We can do this easily in Photoshop:

Snap to Layer Feature in Photoshop

What kind of came to mind was:

1- Create guides delimiting the layer.

2- Use the Crop Tool with the option 'Snap to Guides' enabled.  Crop

Thanks, but I can't find New Guides from Active Layer. Do you use a plug-in or script to use that option?
Reply
#6
Move layer after 'View / Snap to Canvas Edges'
   
Or use the 'Alignment Tool'
   
Reply
#7
A diiferent way Wink

In the crop tool options enable crop current layer only That constrains the crop tool to that layer.

That crops the layer. If you want to crop the whole image to the size then toggle crop current layer only off and apply the crop.

example: https://i.imgur.com/s6mym0x.mp4

edit: another 25 second demo: https://i.imgur.com/9sinhtQ.mp4
Reply
#8
(12-14-2022, 11:41 AM)denzjos Wrote: Move layer after 'View / Snap to Canvas Edges'

Or use the 'Alignment Tool'

That snapping option only snaps the cropping to canvas edges

(12-14-2022, 11:47 AM)rich2005 Wrote: A diiferent way Wink

In the crop tool options enable crop current layer only That constrains the crop tool to that layer.

That crops the layer.  If you want to crop the whole image to the size then toggle crop current layer only off and apply the crop.

example: https://i.imgur.com/s6mym0x.mp4

edit: another 25 second demo: https://i.imgur.com/9sinhtQ.mp4

I think this is the simplest way to do it. Thanks
Reply


Forum Jump: