How do I remove the background from an image?
In GIMP you can convert the image to black and white. It's a feature called Desaturate.
Now that you have it in B&W then increase Brightness and Contrast in a way that the background becomes bright white and the letters are deep dark.
just like these example:
In that state will be easy to select all the white color with this tool
Be sure that the threshold of selection is near to zero to select only a single color and select feather edges.
Add a transparent layer (Layers > Transparency > Add Alpha Channel
)
Clear (Edit > Clear or Del
) the selected color and you will have a transparent background.
If you want to have a new background, add a Layer and put the color in the new layer.
I would advise vectorising the logo with Inkscape. Open Inkscape, select File > Import...
to import the logo, select Path > Trace Bitmap...
to trace the logo to a vector, adjust the settings to create a clean vector (tick the Live Preview
checkbox to see how your final vector will look) and click OK
when you're happy with the settings. The vectorised logo will be placed over the bitmap logo, so move it out of the way and delete the original bitmap from the Inkscape file. Save the Inkscape file (the format is .svg
, for a vector graphic file).
As this is a vector graphic, you can now easily change the colours, style of the lines, and shape of the logo, and can export it at different sizes and resolutions without it appearing blurry or pixelated.
With Paint.NET use Brightness/Contrast like this:
If you need it transparent, use the wand with 0% tolerance and flood mode global, click on a white region and then press Del to delete the white background.