Post Reply 

Turn an image 'white' in GIMP

Feb 4, 2014, 21:40
Post: #1
Turn an image 'white' in GIMP
I have an image that looks like this...

http://marklocklear.github.io/images/motorbike.png

...that I would like to look like...

http://marklocklear.github.io/images/git.png

So the motorcycle would be all white but stay within the bounds of the current lines of the bike. I did some digging and it looks like I need to add a layer mask which I did without any luck. When I add a layer mask which option should I choose?
Find all posts by this user
Quote this message in a reply
Feb 4, 2014, 22:21
Post: #2
RE: Turn an image 'white' in GIMP
..thanx...I was able to remove the background on the image you attached, and that is exactly what I need. However, I'm trying to go through the steps myself. So your first step is...

- add a layer, fill it with the background color

...so lets just start with 'add a layer'. Would that be Layer > New Layer...or Layer > Mask > Add Layer Mask?
Find all posts by this user
Quote this message in a reply
Feb 4, 2014, 23:00
Post: #3
RE: Turn an image 'white' in GIMP
If you want your final result to be white on a transparent background.
My solution would be...
Open your colored Motorcycle image in Gimp.
Layer->Transparency->Alpha to Selection.

Then, Layer->New Layer, give this new layer a name, choose fill type Transparency
Set your Foreground Color to White.
Edit->Fill with FG Color.
Select->None

File->Export your new image.
Find all posts by this user
Quote this message in a reply
Feb 5, 2014, 13:39
Post: #4
RE: Turn an image 'white' in GIMP
Awesome! You guys rock. Thanks so much!

(Feb 5, 2014 02:18)ofnuts Wrote:  
(Feb 4, 2014 22:21)lumbee Wrote:  ..thanx...I was able to remove the background on the image you attached, and that is exactly what I need. However, I'm trying to go through the steps myself. So your first step is...

- add a layer, fill it with the background color

...so lets just start with 'add a layer'. Would that be Layer > New Layer...or Layer > Mask > Add Layer Mask?
If you don' t need the background, then the whole procedure is this instead:
- select the layer with the bike, and "Layer/Transparency/Alpha to selection": this will give you a selection with the shape of the bike.
- hide the original layer
- add a transparent layer (Layer/New layer of course)
- and bucket-fill the selection with white

Another way:
- select the bike layer and lock its alpha channel:

(image above for 2.6, slight difference you can figure out in 2.8)

- bucket fill the whole layer with white (the alpha-lock prevents the bucket-fill to apply to transparent areas)
Find all posts by this user
Quote this message in a reply
Feb 5, 2014, 13:55
Post: #5
RE: Turn an image 'white' in GIMP
Thanks guys. That worked!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  some image have ( your name ) for editing but how commandera 2 87 Nov 1, 2018 18:55
Last Post: commandera
  Resizing an image down without losing quality AsdAsd 1 200 Oct 22, 2018 12:34
Last Post: paynekj
  delete image benhur 1 374 Oct 22, 2018 12:34
Last Post: paynekj
  Change Print screen Image Settings dddemauro26 1 292 Sep 24, 2018 08:48
Last Post: paynekj
  Error Message "¬†gimp-image-set-resolution¬†" quand 2 347 Sep 8, 2018 19:35
Last Post: quand

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS