Mobile app version of vmapp.org
Login or Join
Vandalay110

: How do I contract a selection of all pixels in Photoshop? I have a series of images with a 1px border included in the picture. I need to get rid of that border. The logical route seemed

@Vandalay110

Posted in: #AdobePhotoshop #Selections

I have a series of images with a 1px border included in the picture. I need to get rid of that border. The logical route seemed to be Select > All and then Select > Modify > Contract... by 1 px. Unfortunately, when all pixels in a layer are selected, Photoshop (CS6 in my case) greys out all Select > Modify option but Border.... This seems to be an ancient 'bug', introduced in Ps CS3.

How can I work around this 'bug', preferably in a way that allows me to automate the process in an action?

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay110

4 Comments

Sorted by latest first Latest Oldest Best

 

@Speyer780

You can follow these steps:


Select - All
Select - Modify - Border (1px)
Select - Inverse
Select - Modify - Contract

10% popularity Vote Up Vote Down


 

@Fox8063795

Check out



Janie News explains how to contract a selection. I think she is using a PC.

Use CMD-click when selecting the layer with the selection prior to using Select -> Contract

10% popularity Vote Up Vote Down


 

@Correia448

What about the Trim feature? If the pixel border around the images is a solid colour or transparent Trim would work. You might have to play around with it a bit, but you should be able to use it to do what you are asking.

Image > Trim...

10% popularity Vote Up Vote Down


 

@Vandalay110

A quick workaround is to use the one Modify option still available: Border. Border for the amount of pixels you want to trim off the image, reverse the selection (Select > Inverse or Shift+Ctrl/Option+I) and Image > Crop.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme