[GIMP] Removing White Backgrounds.

How to make a map. Official Handbook, Guides, Tutorials and more...

Moderators: Global Moderators, Cartographers

Forum rules
Please read the Community Guidelines before posting.

[GIMP] Removing White Backgrounds.

Postby TheSaxlad on Fri Jun 25, 2010 6:43 am

Can anyone enlighten me on how to remove the white background from pictures on gimp?
User avatar
Lieutenant TheSaxlad
 
Posts: 1508
Joined: Fri Jun 04, 2010 5:42 am
Location: ShakeyCat's Saxland :)
Medals: 51
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (1) Tournament Achievement (2) General Achievement (3) Clan Achievement (4)
Tournament Contribution (1) General Contribution (3)

Re: Removing White BAckgrounds.

Postby ManBungalow on Fri Jun 25, 2010 7:15 am

TheSaxlad wrote:Can anyone enlighten me on how to remove the white background from pictures on gimp?

When you create the image, simply choose to fill with transparency as so:
Image
(You'll need to select 'Advanced Options' first, of course).

Or if you've got a white background on a layered image you are already working on, just delete the white background layer..
Image
User avatar
Colonel ManBungalow
 
Posts: 3329
Joined: Sun Jan 13, 2008 7:02 am
Location: On a giant rock orbiting a star somewhere
Medals: 84
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (4) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (2)
General Achievement (10) Clan Achievement (12) Tournament Contribution (3) General Contribution (6)

Re: Removing White BAckgrounds.

Postby TheSaxlad on Sun Jun 27, 2010 6:19 am

Sorry I mean when you copy and paste a picture with a white background...
User avatar
Lieutenant TheSaxlad
 
Posts: 1508
Joined: Fri Jun 04, 2010 5:42 am
Location: ShakeyCat's Saxland :)
Medals: 51
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (1) Tournament Achievement (2) General Achievement (3) Clan Achievement (4)
Tournament Contribution (1) General Contribution (3)

Re: Removing White BAckgrounds.

Postby thenobodies80 on Sun Jun 27, 2010 7:28 am

Select "colors menu" --> "color to alpha"

http://docs.gimp.org/2.6/en/plug-in-colortoalpha.html

Give every man your ear, but few thy voice. Take each man's censure, but reserve thy judgment.
show
User avatar
Corporal 1st Class thenobodies80
 
Posts: 5558
Joined: Wed Sep 05, 2007 4:30 am
Medals: 70
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (2) Teammate Achievement (1) Cross-Map Achievement (3) Bot Achievement (1) Ratings Achievement (4)
General Achievement (8) Map Contribution (7) Tournament Contribution (6) General Contribution (17)

Re: Removing White BAckgrounds.

Postby natty dread on Sun Jun 27, 2010 7:36 am

I don't know if GIMP has a "curves" tool that can map one channel to another through a dynamic curve, but that's how I always do these things in paint.net when I need transparency. I take the curves tool, select input channel = luminosity and output channel = alpha. Then if I want black to be transparent I set the curve so that 0 = 0 and 1-255 = 255. If I want white to be transparent I'll set 255=0 and 0-254=255. If I want a smooth transition from transparent to black I'll just make a straight line from 0 to 255 so that 255=0 and 0=255.

If I set the input channel to "hue" I can make any colour or combination of colours transparent.

The curves tool is very powerful, again not sure if GIMP has this but if it doesn't then it sucks...
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13319
Joined: Fri Feb 08, 2008 8:58 pm
Location: fucked off
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Manual Troops Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (12) Map Contribution (12) General Contribution (7)


Return to Tools & Guides

Who is online

Users browsing this forum: No registered users

Login