15

I have a logo:

my logo

and I'd like to get rid of that yellow-ish background once and for all and perhaps even change the whole logo to black instead of green. is there a way to accomplish this with Paint or GIMP?

I imagine getting rid of the corners is simple, but what about the inside?

Stevoisiak
  • 16,075

6 Answers6

22

In GIMP you can convert the image to black and white. It's a feature called Desaturate.

enter image description here

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.

enter image description here

just like these example:

enter image description here

In that state will be easy to select all the white color with this tool

enter image description here

Be sure that the threshold of selection is near to zero to select only a single color and select feather edges.

enter image description here

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.

jcbermu
  • 17,822
5

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.

2

With Paint.NET use Brightness/Contrast like this:

Paint.NET Brightness/Contrast

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.

Paint.NET wand global flood

1

I saved your image and opened in Gimp. I used the Select by Color tool with a threshold of about 125. I selected the dark green in the center letters. I copied it and pasted into a new image. Saved as xcf and exported as png. There's some pixelation (this is not a vector approach as described by others) and the shading around the medium sized text that looks like (forgive me for this) Chinese characters is not clean. Otherwise I think it's ok.

Here's the png:

Islamic Logo

Edit: Just realized that the "Shandong" means that they probably ARE Chinese characters.

1

You can do this using Paint by saving it as a low-quality Bitmap-image. You should click on File>Save As and then select Monochrome Bitmap, 16 Color Bitmap or 256 Color Bitmap as file types. Doing this makes there be fewer colors in the image that can be used and therefore changes the colors to the closest of these colors. Which format you should choose depends on the image, in your case using 16-color bitmap would give this:

enter image description here

I admit, like that it doesn't look so nice, but there are several easy ways to fix it so that it looks nicer:

Since there are very few colors, you can easily use the fill tool to change the green to gray for example. You can also use the eraser to remove the gray spots in the background.

Or if you want it to go even faster, you can totally replace a color with another by selecting the color you want to replace as color 2, cutting out the whole image with CTRL+A and CTRL+X, filling it with the color you want to replace with and pasting the image with the "transparent selection" option activated.

In your image, after replacing (192; 192; 192) gray with white and (0; 128; 128) green with (128; 128; 128) gray, it gives this result:

enter image description here

0

The Windows 11 version of Microsoft Paint added a "Remove background" button. Just open the image and click the icon of a person with diagonal lines behind them.

Remove background button

Result

No background logo

If you want a transparent background, click the Layers button, then click the eyeball icon on the bottom-most layer to disable the background layer.

Result:

Transparent logo

Stevoisiak
  • 16,075