The Computer Oracle

How do I remove the background from an image?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: A Thousand Exotic Places Looping v001

--

Chapters
00:00 How Do I Remove The Background From An Image?
00:23 Accepted Answer Score 22
01:13 Answer 2 Score 5
01:59 Answer 3 Score 2
02:19 Answer 4 Score 1
03:03 Thank you

--

Full question
https://superuser.com/questions/1117878/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#gimp #imageediting #microsoftpaint

#avk47



ACCEPTED ANSWER

Score 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.




ANSWER 2

Score 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.




ANSWER 3

Score 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




ANSWER 4

Score 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.