Cutting Out An Object Without Having Background

trim outline

Ever wondered how do you cut out an object from an image, but yet dont show the canvas or white square background? This is probably one of the most asked questions regarding Photoshop, and a very good one too. Its because of this ability that makes Photoshop so powerful in image editing. Even for myself, I had also wondered how do you get rid of the background of objects, especially for T-shirt printing, since you dont really want the background to be printed too!

Preparation:

The first step is to get your photograph ready in Photoshop. You can drag it into Photoshop or just go to File > Open > your photo.

This tutorial was done on Adobe Photoshop CS5. Other versions may vary slightly.


Step 1:

Okay so depending on the picture you have, and the object you want to outline, the difficulty varies. Lets take a look at my example, today Ill be outlining and extracting out the family of four. First things first, make sure your layer is Rasterized. It simply means in raster form (dots or pixels), not vector.  To check, just right-click on your photos layer. If the Rasterize Layer is greyed out means youre good. If not, select Rasterize Layer!

rasterize layer

Step 2:

Now we have to outline out the object, in this case, the four people. If you havent read the Outlining Object guide, please do so and then come back here. Ill be using, as always, the Polygonal Lasso Tool. Remember to zoom in and out to make your outlining life much easier and accurate! It took me about a good 5 minutes to outline this, and after outlining you should get a nice dotted outline like this.

outlining objects

Step 3:

Next, while making sure the photo/image layer is selected, press Ctrl+J (Cmd+J). This will copy out the outline, and paste it into a new layer, as you can see in the example below as Layer 2. Notice how it only shows the four people in the thumbnail but not the background? However we see no difference in the main image, as the outlined layer of the four people simply overlaps the background, which are the same four people, so obviously you wont be seeing any changes.

outlining duplicate

Step 4:

Now things are starting to get fun! To view the outline object on its own, simply delete or hide the original background image. I recommend just Hiding as you never know when you might need the original image again. Hide the original image by clicking the eyeball as shown in the example. You should see your image on a white background now! (assuming that when you first pasted the original photo there was a default background of white already)

outlined object

Step 5:

If you like to save your image on a white background as it is, then go ahead! (If you dont know already, Menu Bar: File > Save As.) Otherwise, lets put the object on a transparent background!  Simply hide the white background again by clicking the eyeball. You should see a background of white-and-grey checked squares now. Dont be alarmed, it simply means the background is transparent. Those squares wont appear after saving the image.

transparency

Step 6:

Next, I simply use Trim to cut down the canvas size for easier movement and viewing. It simply auto-cuts everything away to the very edges of the object. Go to Menu Bar: Image > Trim. Im gonna be cutting from all sides, so Ill check Top, Bottom, Left and Right.

trim

And we get something like that.

trim outline

Step 7:

Oh my, I almost forgot one important part! See that small hole with the background in the right arm of the lady? Yup, that part isnt deleted as during the outline, we outlined only the exterior parts of the object. Theres a tiny part over at the left hand of the guy too. To delete those, simply outline the hole and press delete! Simple! Just remember again, to make sure that the objects layer is selected, and then outline and press delete, otherwise nothing will happen. Or if you want, you can also use the Eraser to manually erase off the background.

Step 8:

Now you can save your image!  Please note you can only save it as a gif or png file, as only these two formats support transparency. If you save it as a jpeg, you will still end up with a white background. Gif is recommend for web use, or images with few colors. For photos or images with many colors, use png. After saving you can simply drag or place this image into other backgrounds or photos that you might want to edit. As the background of this image is transparent, you can place it anywhere on any other photo and it will just be super-imposed on the picture.

End result (the background looks white because of the websites white background, but its just transparent):

transparent

Playing with it, I can just put it in another background, like THIS! Good for making posters or banners, or whatever you may need.

Thats all for now, and hope you have learnt something new today! Play around with the various outlining techniques, as well as imposing on different backgrounds to get some laughs!

Previous
Next Post »