Skip to main content
Inspiring
February 24, 2025
Open for Voting

trim all the transparent pixels (constrain to image)

  • February 24, 2025
  • 2 replies
  • 235 views

why is it still so clunky to crop an image to remove all transparent pixels in ps, when lightroom has a checkbox.   The crop too snaps to the image bounds which is fine most of the time, but when you have a 3 or 4 pixels of transparency - and not in a perfect rectangle (so you cant use the trim or crop command), its hopeless.

I just cludged an action to do it, but i'm guessing it could be done in about 10 lines of code as a script

2 replies

c.pfaffenbichler
Community Expert
Community Expert
February 24, 2025

Could you please post screenshots with the pertinent Panels (Toolbar, Layers, Options Bar, …) visible? 

 

If the Crop Tool snaps at unexpected locations I think you might want to check the transpareny for stray pixels. 

Stephen Marsh
Community Expert
Community Expert
February 24, 2025

I'm confused, you mentioned Trim and it has an option for transparent pixels?