Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making an object a single solid colour?
#1
I've got this image of a black sword outline on a white background. I want to remove the white background so that just the black outline of the sword is left behind. But when I do that there's a halo of white around the sword left behind from the original white background:

[Image: VN4KhHP.jpg] [Image: MwW21ol.jpg]

Is there a way to take the Sword and make every pixel in that layer black?

Or is there a better way of achieving this result?

I've been searching for ages but it's hard to find the answer to your question when you don't know the right terminology to search for.
Reply
#2
See https://www.gimp-forum.net/Thread-Backgr...r-graphics

Basically you remove the white background with Color-t-o-alpha or Color erase.
Reply
#3
Hello.  "I've been searching for ages but it's hard to find the answer to your question when you don't know the right terminology to search for."  Yes.

There are lots of possibilities for removing backgrounds, but techniques often depend on the file type - jpg, png, svg, etc. It might be helpful if you could post the original image with the background intact, since the background is already partially removed, further results will almost certainly result in jagged edges.
Reply
#4
The problem is a little bit like : https://www.gimp-forum.net/Thread-image-...clear-help
It's not the answer how to prevent the white halo (as neurolurker said, there are different ways), but if you have to select such a simple drawing I would use the path tool and then do in the gimp menu : Select / From path and then fill the selection with black. This way, you get crisp straight lines. 

   
Reply
#5
Thank you all so much for your help with this.

I’ve since managed to do what I wanted to do and I couldn’t have done that without your help.
Reply


Forum Jump: