Removing transparent edges?

AB
Posted By
Alex Buirch
Aug 22, 2007
Views
2497
Replies
6
Status
Closed
I have a few humanoid/robot images that I’m trying to edit by only taking the humanoid/robot figure from the image and than deleting the background. I don’t understand how to do this in Photoshop, so I’ve been doing it in another program ("Microsoft Picture It!" to be exact). You know, outline the figure with a selection tool, duplicating it, than deleting the background or the original image so I just have the figure by itself.
But the problem with this is that when I load the image into Photoshop for furthur editing and cleaning up, there’s a transparent outline around the image where the pixels begin to fade.
This is a problem because when I use the images in another program (Game Maker) there’s a line around the image where the color of the object blends with the background. If I have a red object and a white background, than the object has a pink outline around it.

So I was wondering if there was a way to easily remove those transparent pixels around the edge. Currently I’ve had to either use the Eraser tool in Photoshop or touch it up in Game Maker by hand, which can take hours to do when I have a bunch of different images with different parts. I’d rather avoid those hours if possible if there’s an easier way to get those edges away.
Does anyone know if there’s an easier way to remove those edges? If so– how?

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

SP
Sid_Phillips
Aug 22, 2007
I would use the magic wand in PS to select the image (click on the transparent background area) then use Select-Modify-Contract to reduce the fringing until it all goes away.

In the future, I would suggest using the Pen tool to create a path around your subject, using a Feather Radius of 0. This should allow you to cut the subject out without the fringe (which is aliasing created by Feathering your selection.)
AB
Alex Buirch
Aug 23, 2007
Alrighty.
Though I’ve never used the Contract option before. What exactly does it do/is it doing? When I select the background, than contract it by 1 (or 2, 3, 4, whatever) it only seems to move the selection outline around the foreground items away from them. I don’t really see it doing anything to fringing.

And I don’t really remember how to use the pen tool. I know you can select things with it by creating anchor points around the object, than you can move the points around with various other tools. But what I can’t remember is how you get it to select the object.
All the tool seems to do for me (when I close the path) is create a solid-color shape over my image, and I’m not really sure what to do with it after that.
SP
Sid_Phillips
Aug 24, 2007
The first thing you have to do is create a selection around your object. Since your existing images are already on a transparent background, you should be able to use the Magic Wand to select them. Just click in the transparent (or blank) area outside the image. This should give you a selection around the image.

Now you use the Contract function to "shrink" the selection into your image, cropping out the fringe area around the image. Then you can copy and paste the selected image into a new file, or just into another layer. With Feathering set to 0, you will crop all the fringe area out and paste a clean (non-aliased) image into the new file or layer.

For new images, if you need to cut them out from a background, use the Pen tool to create an outline around the image, then convert that path into a selection with Feathering set to 0 and copy the selection into a new file or layer. Using the Pen tool effectively takes practice, and there are lots of tutorials on the web on the subject.

Of course, you can also use the other masking tools in PS to do the same thing. But once you’ve mastered the Pen tool then cutting out images can be done very precisely. Even better, combining the masking tools with the Pen tool allows you to do some amazing compositing. It just takes practice.
AB
Alex Buirch
Aug 24, 2007
Alright… Am I doing this right?
-I use the Pen Tool to outline an area which, in the "Layers", makes a new shape ("Shape 1"). The shape is automatically filled in with a solid color.
-I switch to the Direct Selection Tool, right click on the solid-color shape and hit "Make Selection".
-Now it has the selection ("marching ants") around the solid-color shape. But I must be missing something because if I try to copy and paste, it doesn’t do anything. Not to mention, should it have that solid-color shape?
JR
John_R_Nielsen
Aug 25, 2007
In the Option Bar for the Pen tool (and also for the Shape tool), on the left will be three icons: Create Shape layer, Create filled area, and Paths. Be sure to select the Paths option. This will create a plain path, without any color overlay.
AB
Alex Buirch
Aug 26, 2007
Ah, that’s it. Thanks! 🙂

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections