Since I have been finishing the client booklet for the loft, I've been making digital sample boards. Since my page background is dark, it looks much better if I remove the plain background from behind the product images -- except for the usually-white halo left behind, and the commands under Layer > Matting don't always work so well.
I have figured out a trick to lessen the manual labour in removing the background.
I have figured out a trick to lessen the manual labour in removing the background.
- Just in case, duplicate the layer your product is on.
- Make a new layer and fill it with a colour approximating your page background, using the Paint Bucket.
- Switch back to your duplicated layer.
- Select the background, probably via the Magic Wand, such that your selection is mostly correct.
- Now hit Q to go into Quick Mask mode, and use the Brush and Eraser tools to touch up the selection. This is way easier than repeated magic-wanding.
- Now that the selection is touched up, fuzz its edge with Filter > Blur > Gaussian Blur at approximately 1px. This will reduce the opacity of, and thereby soften the edge of the resulting product shot-on-transparent-background, which looks way better than the hard edge, because you can never get the edge perfect.
- Delete the background. You might have to inverse the selection first.
- Touch up as necessary with soft Eraser or commands from Layer > Matting.
- Delete unnecessary layers, e.g. your original layer and your dark test background.
- Save as something with transparency support, probably PNG format.