• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to remove white edges around image non-manually

New Here ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

Hello there, for an experiment I needed to transform a lot (60) images of hands to suit certain paramters (size, grey background, 500x500 canvas size etc).

 

After batch transforming them all, quite a lot of them have a white halo/border that I can't seem to be able to remove without going in and getting a paintbrush manually. I've tried Layer -> Matting -> Remove white matte, but sadly this only resulted in a similar, black border being formed, which is just as undesirable. 

 

Any solutions on how to do this? 

 

Thank you so much for any help.

 

Hands5.png

TOPICS
Actions and scripting

Views

14.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Apr 19, 2021 Apr 19, 2021

I'd intended to use Select Subject followed by Select > Modify > Contract by a couple of pixels.  Then either copy the selection top a new layer, or invert the selection and delete the fringing.  It worked out the Select Subject largely ignored the white fringe though, so I just used Ctrl J to copy to a new layer.

image.png

What was left by this process was so slight it was an easy job to add a layer mask and paint out the remaining fringe with black.

image.png

 

One more point... Your original image was very fla

...

Votes

Translate

Translate
LEGEND , Apr 20, 2021 Apr 20, 2021

Yes of course, it's just like I said one of first step. Next one should be for ex. to add Mask User.

Votes

Translate

Translate
Adobe
LEGEND ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

Did you try 'Select Subject' as one of first steps of your action?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

Yes, I have. I did that as well prior to this to be able to transform the image. Right now it selects the white halo around it

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 20, 2021 Apr 20, 2021

Copy link to clipboard

Copied

LATEST

Yes of course, it's just like I said one of first step. Next one should be for ex. to add Mask User.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 19, 2021 Apr 19, 2021

Copy link to clipboard

Copied

I'd intended to use Select Subject followed by Select > Modify > Contract by a couple of pixels.  Then either copy the selection top a new layer, or invert the selection and delete the fringing.  It worked out the Select Subject largely ignored the white fringe though, so I just used Ctrl J to copy to a new layer.

image.png

What was left by this process was so slight it was an easy job to add a layer mask and paint out the remaining fringe with black.

image.png

 

One more point... Your original image was very flat and lacking in contrast, which makes the selection more difficult. If they are all like that, it might pay to use a curves or Camera RAW adjustment to improve that.  If they are all greyscale it might also be worth working in 16 bit. 

image.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines