Photopea Bonus Activity: Removing the Background from Images
If you have a graphic or photo and need to get rid of the background and convert it to a transparent background, you may find this guide helpful. If you have any questions, please ask!
- Download this image for the exercise: Pixabay Image
- Open the photo in Photopea by either clicking on the Open From Computer or going to File -> Open. Find where you saved the photo and open it. If your browser automatically saved it for you, it is probably in your Downloads folder.
Method #1: Background Eraser “Once Mode”
- Find the Background Eraser Tool: In the left toolbar menu, click and hold on the Eraser Tool icon and a menu containing two eraser tools will pop up. Select Background Eraser Tool.
- In the properties menu across the top, change the Eraser Size to 200 by clicking on the downward arrow next to the white dot. set the Mode to Once and the Tolerance to 30.
- Click once on the background and keep the mouse button pressed while you move it to start erasing the background, replaced with a grey and white checked background (indicating a transparent area). Click and erase across all the areas of the background in different colour ranges until the only parts of the graphic left are what you want to keep. Note: by having the Mode set to Once, when you click on a section of the background, the eraser samples that colour and then keeping the mouse button pressed, the eraser will only erase that colour, even if you brush across the clock. As the colour is a gradient, you will need to re-click and drag to resample and erase other sections of the background. If you need to get into smaller areas to sample the correct colour, you can resize the brush.
- Trim away excess space by clicking on the Crop Tool in the left side toolbar. Click and drag the square handles around the perimeter of the image to show only the area that you want kept. Click the Checkmark at the top of the screen when you want to complete the crop.
- See the Exporting instructions at the end of this activity to save it.
Method #2: Quick Selection Tool
- Download this image for the exercise: Unsplash Image
- Find the Quick Selection Tool in the left toolbar menu.
- In the properties menu across the top, click on Refine Edge.
- Click on the white square in the top menu and choose a brush size with the little downward pointing arrow. Brush across all the parts of the image you want to keep. Those areas will lighten and then appear in the preview on the right.
- To zoom in to get a closer look, use the scroll wheel on your mouse or click on the Plus button in the top menu and click on the image to zoom.
- You may want to change the size of your brush to get small details.
- If the checkered transparent background makes it difficult to see detail, you can choose a different display background in the top right corner menu. A black background would be helpful for this image as all the excess light background becomes easily visible.
- To tidy up the edges, click on the black square in the top left corner and brush over the areas you want erased from your final image.
- Click on OK in the top right corner when you are satisfied with your image and this will bring you back into the main Photopea screen.
- Trim away excess space by clicking on the Crop Tool in the left side toolbar. Click and drag the square handles around the perimeter of the image to show only the area that you want kept. Click the Checkmark at the top of the screen when you want to complete the crop.
Export as a PNG:
- Note: As the goal for these images is to be placed in another project, it’s best to export at full resolution.
- To export your image, click on File -> Export As in the upper left corner. A window will pop up with options for resizing. Leave image size and quality at 100%, but make sure the Format is set to PNG in the dropdown in the upper right corner of the Export window. (If you want a smaller image, you can descreen the Width/Height and/or decrease the Quality.) Click the Save button in the bottom corner when ready. Your saved image will be downloaded to your hard drive.
function toggle(input) { var x = document.getElementById(input); if (x.style.display === “none”) { x.style.display = “block”; } else { x.style.display = “none”; } } </script>