[GIMP] Removing White Backgrounds.

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

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
TheSaxlad
Posts: 1138
Joined: Fri Jun 04, 2010 5:42 am
Gender: Male
Location: ShakeyCat's Saxland :)

[GIMP] Removing White Backgrounds.

Post by TheSaxlad »

Can anyone enlighten me on how to remove the white background from pictures on gimp?
ManBungalow
Posts: 3431
Joined: Sun Jan 13, 2008 7:02 am
Location: On a giant rock orbiting a star somewhere

Re: Removing White BAckgrounds.

Post by ManBungalow »

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
TheSaxlad
Posts: 1138
Joined: Fri Jun 04, 2010 5:42 am
Gender: Male
Location: ShakeyCat's Saxland :)

Re: Removing White BAckgrounds.

Post by TheSaxlad »

Sorry I mean when you copy and paste a picture with a white background...
User avatar
thenobodies80
Posts: 5400
Joined: Wed Sep 05, 2007 4:30 am
Gender: Male
Location: Milan

Re: Removing White BAckgrounds.

Post by thenobodies80 »

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

http://docs.gimp.org/2.6/en/plug-in-colortoalpha.html
User avatar
natty dread
Posts: 12877
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked

Re: Removing White BAckgrounds.

Post by natty dread »

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
Post Reply

Return to “Tools & Guides”