Creating Transparent Backgrounds with the Background Eraser

Creating Transparent Backgrounds with the Background Eraser

The Background Eraser in PaintShop Pro is a very effective tool to create a transparent background on your photos. In this tutorial, we’ll first review how the regular Eraser tool works in comparison to the Background Eraser, and then show you how to remove a background from one photo and replace it with a background from another photo. Once you master this technique, you will be able to create amazing composite images.

Download the written tutorial and sample images to follow along with the video below.

Thanks for watching! We hope you found this tutorial helpful and we would love to hear your feedback in the Comments section below. And don’t forget to visit our social media pages and show us what you’ve learned by sharing your photos, videos and creative projects with us.

Creating Transparent Backgrounds with the Background Eraser

The Background Eraser is a very effective tool to create a transparent background on your photos. We’ll review how the regular Eraser tool works in comparison to the Background Eraser, and then show you how to remove a background from one photo and replace it with a background from another photo. Once you master this technique, you will be able to create amazing composite images.

We will start with this image of a pier. Open the sample image Pier.jpg in the Edit tab of PaintShop Pro.

Let’s quickly review the differences between the regular Eraser and the Background Eraser.

Select the Eraser tool from the Tools toolbar. In the Property Bar, select a size of about 100.

TIP: You can adjust the eraser size by entering an exact figure into the Size box on the Property Bar, or by holding down the ALT key and dragging your mouse up or down on your screen.

The Eraser is an all-or-nothing tool, it doesn’t distinguish between colors like the Background Eraser does. On the Pier image, click and randomly move the Eraser around to see how it erases anything and everything.

Click Undo (Ctrl + Z) to return the photo to its original state.

The Eraser does have an option called Smart Edge, which acts like a basic background eraser in that it automatically finds the edges of irregularly-shaped areas as you erase. This can provide a shortcut if desired.

To see how this works, check the Smart Edge option on the Property Bar.

With your Eraser activated, place most of the circle (including the center eraser) into the sky portion but overlap the lower part of the circle into the ocean.

Click and drag from either direction along the horizon where the sky meets the ocean. You can see that with the Smart Edge option enabled, the Eraser does a good job of making a clean distinction between the ocean and the sky.

Now that we’ve had a look at how the Eraser works, let’s move on to the Background Eraser. Click the Undo button (or Ctrl+ Z) to get rid of your eraser marks until you are back at your original image.

Select the Background Eraser, which is in the same tool group flyout as the Eraser. In the Property Bar, set the Size to 200, Opacity to 100, and Tolerance to 100. Keep rest of the settings at their defaults. Under the Limits drop-down list, select Contiguous. This will only erase colors that are connected to the main sample area.

TIP: If you aren’t able to adjust the Tolerance setting, check to make sure that the Auto Tolerance check box is not checked.

You will see that the Background Eraser is represented by a large circle, with a small eraser icon right in the center. It is important that you keep the center icon from touching any area that you don’t want to remove.

Start on the far left with the center of the tool in the sky and the outer circle just overlapping into the sea. Click and drag horizontally from the left going straight to the right. Go up, over and around the lighthouse, being careful NOT to place the center icon on the lighthouse itself.

If you make any mistakes, just use Undo (Ctrl+ Z) and try again. Until you get familiar with using the Background Eraser, you might want to do your erasing with a series of short strokes instead of one long stroke. This way, you won’t lose all of your work if you make a mistake and have to Undo.

Continue to erase along the top of the mountains and around the sign. With the brush settings as they currently are, there are some areas that you won’t be able to easily erase, such as the top railing of the lighthouse or between the sign hinges. In a few steps below, we’ll show you how to get at these areas.

If you notice some erased areas are not fully transparent after your first pass, just go over them again with the Background Eraser.

Once you have erased all of the sky, your image will look like this:

If you want to save this image with the sky completely erased, make sure to save it as either a .PNG file or .PSPIMAGE file, to preserve the transparency you created.

Now that you’ve had a chance to try out the basics of the Background Eraser, we’re going to do a fun project to replace the dull grey background with a gorgeous sunset.You have 2 options on how to continue:

  1. If you want some more practice with the Background Eraser, close the Pier image without saving any of the erasing you did, then re-open it to return to the original image (or you can undo as many times as necessary to return to the original image).
  2. If you want to preserve the erasing you have already done, just keep the modified Pier image open and continue with the next steps below.

Open the sample image Sunset.jpg. Switch back to the Pier image and copy it using one of the following methods:

  • With the Pan tool (hand icon) activated, right-click on the Pier image and select Copy; or
  • Go to Edit>Copy; or
  • Use keyboard command Ctrl +

Switch to the Sunset image and paste the Pier image using one of the following methods:

  • Right-click and select Paste>Paste as New Layer; or
  • Go to Edit>Paste as New Layer; or
  • Use keyboard command Ctrl + V.

The Sunset is now designated as the Background layer and the Pier image is on top of it.

Select the Background Eraser, leaving all the settings on the Property Bar as they were set earlier. If you are starting over, erase the sky on the Pier image as you did previously. You will see the sunset image now showing through the areas that you have erased. Again, you will still not be able to erase inside the lighthouse’s railing, nor between the sign hangers…yet.

Select the Discontiguous option under the Limits drop-down. As opposed to the Contiguous option, the Discontiguous option will erase colors that still fall into the eraser’s limits but are disconnected from the main area.

Using the same technique as before, erase around the lighthouse railing. The circle of eraser should reach in and now also erase what’s inside the railing.

Repeat this for inside the hinges of the hanging sign. Remember not to touch the center of the tool on either the lighthouse or the sign itself.

Finish erasing the rest of the sky. Try using the following shortcut technique:

  • Hold down the Shift key and click in the upper left corner of the sky
  • While still holding the Shift key, click in the upper right corner.

This will erase a strip of the Pier image all the way across and you should now see a strip of sunset stretching all the way across the top.

Continue erasing the sky of the Pier image until it is completely replaced by the sunset image behind it.

TIP: If you hold down your right mouse button while using the Background Eraser, it will “unerase” or restore any parts that you erased. This can be helpful if you’ve made a mistake but don’t want to use Undo and lose all of your erasing work.

Background Eraser Tool Settings

The following is a quick overview of the settings and options for the Background Eraser. You can find more information in the PaintShop Pro Help files.

  • Opacity — a lower setting erases pixels to partial transparency.
  • Tolerance — determines how closely the selected pixels match the sampled pixel.
  • Sharpness—specifies the softness of the erased edge. A softer brush crates anti-aliased edges.
  • Sampling — specifies the basis on which pixels are erased. This control has the following options:
    • Once — samples the point at which you first click and then erases all matching pixels for the duration of the stroke.
    • Continuous — samples continuously and erases all matching pixels it encounters, including foreground colors if the sampled pixel falls into the foreground area.
    • BackSwatch — erases all pixels that match the current background color on the Materials palette
    • ForeSwatch — erases all pixels that match the current foreground color on the Materials palette
  • Limits — specifies whether erased pixels are adjacent to each other with the following options:
    • Discontiguous — erases all pixels in the tool’s path that match the sampled pixels, even if they are nonadjacent. We used this on the lighthouse and the sign.
    • Contiguous — erases only contiguous pixels that match sampled pixels. This setting would’ve skipped the areas inside the lighthouse and the sign.
    • Find Edges — similar to Contiguous, but better for areas with sharp edges where you want to keep the sharpness.
  • Auto Tolerance — determines what is erased based on the color range from the first color you click on. You can uncheck this manually set the tolerance level instead.
  • Use all layers — samples data from all layers merged together. Only pixels in the current layer are erased. To sample data from the current layer only, you can unmark the check box.
  • Ignore Lightness — ignores sharp differences in color lightness and saturation. You can mark this check box when the colors in the object that you want to isolate are strongly saturated and the background is unsaturated, or vice versa.

See what's new in PaintShop Pro 2022!

Download your FREE 30-day trial and get all the color and brightness you’ve been missing with PaintShop Pro 2022, your all-in-one photo editing and design software.

Related Tutorials

Tools You Need

PaintShop Pro 2022

Get all the color and brightness you’ve been missing with PaintShop Pro 2022, your all-in-one photo editing and design software.

Winter Chill Script

Easily turn your photos into wintery scenes with a touch of snow, with the Winter Chill script for PaintShop Pro.

PaintShop Pro 2022 Ultimate

Enjoy a faster, easier, more creative photo editor PLUS an exclusive bonus collection of premium software.

Duotone Gradient Scripts

These PaintShop Pro scripts will turn your photos into black and white images and then add a duotone color gradient. Includes 10 different duotones.

Share this post

Comments (8)

  • Kenneth Bryant Reply

    the smart edge does not work in background erase smart edge mode it erases the whole image… does not detect area like the video says it does

    June 19, 2021 at 12:47 pm
  • npkaraitiana Reply

    PSP ultimate 2021 – i have used remove background tool in and used the Smart selection brush on two separate heads and on both i cannot master how to remove unwanted background colour out of the outline especially amongst hair. i have both heads in separate transparency files. Any suggestions thanks. Natalie

    January 19, 2021 at 1:12 pm
  • John Magness Reply

    I am deleting a background (around a head shot) and saving as a .png. I then insert the photo in a Publisher file, but the text will not wrap around the head. It continues to wrap around the rectangular frame. Any ideas?

    July 15, 2019 at 3:58 pm
    • Adam Reply

      Hello John,

      When you load a raster image into Publisher, it sees the entire rectangular space as the image object. Applying wrapped text to it will cause it to wrap around the entire image, including the transparent portions. To get around this, you would need to convert the image to curves or trace the edge of the elements you wish to apply text to with a vector line.

      In a pinch, a possible workaround would be to overlay an oval over the face you are trying to apply text to, deforming it until it is a fairly close match, and apply apply the text wrap to that oval shape. Then just set the oval to fully transparent – that should give you a very similar effect to your original approach.

      Discovery Center Team

      July 17, 2019 at 9:50 pm
  • Ken Schurr Reply

    I’m using PaintShopPro 2018 and when I erase the background and save the file as either a jpeg or tiff file I get the message “Because of the limitations of the specified file format (and possibly the save options you’ve selected), the saved file will be limited to a merged image. Would you like to continue?” and the background is not eliminated in the saved file. What am I missing?

    February 21, 2019 at 4:04 pm
    • Adam Reply

      Hello Ken,

      The .jpg and .tiff file formats do not support transparency layers, and will interpret transparent regions as white. To save a file with the transparency preserved, we’d suggest the .png format! It’s widely supported and used, and can handle transparencies.

      Hope this helps!
      Discovery Center Team

      February 21, 2019 at 7:30 pm

    why is it that when i try to download the trial of paint shop pro 2019 ULTIMATE,,,,, I have been given the paintshop,pro2019…are these the same program.. i just dont understand,,,,,

    October 1, 2018 at 4:59 am
    • Adam Reply

      Hello Rhonda,

      The PaintShop Pro 2019 trial is a fully featured version of the the core program, but does not include the Ultimate Content Pack or any of the software extras also included in the Ultimate edition.

      Hope this helps,
      Discovery Center Team

      October 1, 2018 at 7:34 pm

Leave a Reply

Your email address will not be published. Required fields are marked *