31

I have a .jpg image of a text logo, it looks similar to the example image here:

logo example

I am using paint.net.

Now, I would like to change the image to .png, then I would like to remove all the white background, and make the image black text on a transparent background.

I tried the magic select tool to select the white background, and I also tried the magic select tool with the shift key pressed to select all the white by color, I tried adjusting the tolerance; but I always am ending up with either very thin white border around the black text, or if I adjust tolerance, some of the black taken away making the text skewed.

I think the problem is there are some pixels that are not pure black or pure white right around the text. Those are fading from black to white. They should fade from black to transparent.

How can I remove the white background and only end up with the black text?

Thanks.

  • 1
    Try this website. I don't really think there is a way in paint clippingmagic.com – E2Busy Jul 6 '15 at 20:30
  • @Greeso, whitch format image is saved, remember png haves many flavors and not all support transparency. – Francisco Tapia Jul 8 '15 at 14:58
33

I used the Paint Bucket tool.

  • Select the Paint Bucket
  • In the Colors window click More >>
  • Move the Opacity - Alpha slider to the left
  • On the toolbar, set Flood Mode to Global and the Blend Mode to Overwrite
  • Click on the white area.
  • 2
    This works to some extent, but eats up some of the "letters", so the words become thinner :( – Greeso Jul 8 '15 at 19:59
  • 1
    This is exactly what I wanted, it manages to remove some of the antialiasing background blending which is perfect – Glen Blanchard Jul 28 '16 at 3:35
  • 1
    Works like a charm, just adjust the tolerance to what you need (5-10% usually). – Kirill Osenkov Aug 25 '16 at 7:47
  • In 4.0.16, there's no Overwrite option when double-clicking the layer and opening the Blending > Mode list. – OverTheRainbow Jun 1 '17 at 9:35
13

Paint.net has a tool Magic Wand that select uni-color part, select with it and pres del. At the end don't forget to save as png. For blur parts you need to clear it zooming the image and use the eraser to remove manually the blurred parts

enter image description here

  • 5
    Not a good solution. This is what I tried at first. The "blurry" area should not be arazed, but rather be fading into transparent instead of white. – Greeso Jul 8 '15 at 20:01
  • 3
    There is no ideal one click solution. You have to do it manually in one form or another. See the Photoshop tutorials on youtube and try to mimic them on pain.net – emirjonb Jul 9 '15 at 7:09
  • This worked great for me. I was even able to keep the "blurry" area just by adjusting the Tolerance. – A N May 22 at 4:50
4

There are multiple ways to accomplish this, but below are two of the easiest ways. The end results are more or less equivalent, so try both to see which one looks better to you.

  1. Use Color to Alpha plugin from Tanel's Photo and Color Plugins (download).
    Start with the following parameters and experiment from there:

    • Hue = off
    • Saturation = off
    • Brightness = from 255 to 255
    • Tolerance = 128
    • Feather = 0
    • Base Opacity = 0
    • Invert Alpha = on
    • Override Original Alpha = off
  2. Use AlphaSpace plugin (download).
    Start with the following parameters and experiment from there:

    • Transparency Color = White
    • Tolerance = 125
0

You should do the inverse approach here. Don't try to remove the anti aliasing material. Instead, simply cut the black part of the text and move it to a transparent layer.

Open the image.
Use the magic wand tool.
Click the black part of the text.
Adjust the tolerance to make sure you only grab the darker pixels.
Cut the selection, leaving a faint gray outline (the part you didn't want anyway).
Use ctrl+n and it will auto create a perfect size for your new image.
Paste your image.
Done.

This process took me 90 seconds with your image. Here it is:

-2

I believe this technique is possible in Paint.net too:

Create a new layer and make sure it is fully transparent. (use the eraser on that layer if you have to)

Move that layer down.

Now on your current layer set the mixing to Darken, 100%

Now Flatten to an image.

  • 1
    Did not work :( – Greeso Jul 7 '15 at 2:19
  • 2
    Did you save it as 32-bit, or 24? Needs to be 32 for the transparency layer – Tetsujin Jul 7 '15 at 8:02
  • Maybe I am not doing it right. Here is how I understood the instructions: (1) Create a new transparent layer. (2) Move down the trasparent layer. So now we have the bottom layer is the transparent layer, and the top layer is my logo layer. (3) On the top logo layer, set the mixing to "Darken" by double clicking on the layer and changing its blending mode properties. Also set opacity to 255. (4) Flatten the image by ensuring the top logo layer is selected, then clicking on the Image menu and then choosing the Flatten submeu. Is what I am doing correct? If so, nothing is happening unfortunately. – Greeso Jul 8 '15 at 20:07
  • Do you see the logo become transparent during the process? If not, then indeed its not working. Try any of the other mixing options. – LPChip Jul 8 '15 at 21:28
  • it might also be that flatten turns the transparancy back into white. It was a long time since I worked with paint.net. – LPChip Jul 8 '15 at 21:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.