Forum Discussion
How do I remove the background of a PNG image in Windows 11?
A png background remover can be especially useful for logos, icons, and graphics that have a plain white or solid-color background. bgone is a open-source command-line tool that can make a selected background color transparent without requiring an online image-processing service.
For automatic processing, open a terminal in the folder containing the image and run:
bgone input.png
This command processes input.png and attempts to determine the background automatically. When you already know that the background is white, you can specify the color explicitly:
bgone input.png --bg=#ffffff
Here, input.png is the source image, while --bg=#ffffff tells the tool to treat white as the background color. This gives you more control when using the tool as a png background remover for images with a consistent white backdrop.
Because this method is based on background color rather than detailed AI segmentation, it works best with clean, uniform backgrounds. Photos containing hair, shadows, gradients, or similarly colored foreground objects may require a more advanced removal method.