: 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
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?
More posts by @Vandalay110
4 Comments
Sorted by latest first Latest Oldest Best
You can follow these steps:
Select - All
Select - Modify - Border (1px)
Select - Inverse
Select - Modify - Contract
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
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...
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.