RSS/Atom feed Twitter
Site is read-only, email is disabled

removing layer area

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

removing layer area bobdobbs 10 May 08:02
  removing layer area Andrew 10 May 08:09
   removing layer area Jozef Legény 10 May 09:58
    removing layer area Rob Antonishen 10 May 14:12
  removing layer area Pere Pujal i Carabantes 10 May 14:46
2010-05-10 08:02:47 UTC (over 14 years ago)
postings
31

removing layer area

Hi all.

I'm trying to edit an jpg image I've downloaded from the net. This image:

http://creativenerds.co.uk/wp-content/uploads/2009/04/twitter-icos.jpg

As you can see, the image has a white background.

I want to isolate one of the illustrations and remove the white background.

First I use the scalpal tool to isolate one of the illustrations. Then I use either the select tool or the erasor to remove the white. Instead of getting transparent area as a result, I get a grey. (What is happening here)

To get around this, I first save the image as a png, then give the image a background layer with a random colour, save the image as an xcf and close the image. Then I open the xcf.
Again, I try to erase the white in order to get a transparent area. Again, I get an grey as a result.

Obviously, I'm running into the boundaries of my understanding of image formats here.

I'd love to know why I'm getting these results.

I'd also like to know how I can remove the white area and get transaparency without closing and re-opening the image.

Andrew
2010-05-10 08:09:25 UTC (over 14 years ago)

removing layer area

bob wrote:

Hi all.

I'm trying to edit an jpg image I've downloaded from the net. This image:

http://creativenerds.co.uk/wp-content/uploads/2009/04/twitter-icos.jpg

As you can see, the image has a white background.

I want to isolate one of the illustrations and remove the white background.

First I use the scalpal tool to isolate one of the illustrations. Then I use either the select tool or the erasor to remove the white. Instead of getting transparent area as a result, I get a grey. (What is happening here)

To get around this, I first save the image as a png, then give the image a background layer with a random colour, save the image as an xcf and close the image. Then I open the xcf.
Again, I try to erase the white in order to get a transparent area. Again, I get an grey as a result.

Obviously, I'm running into the boundaries of my understanding of image formats here.

I'd love to know why I'm getting these results.

I'd also like to know how I can remove the white area and get transaparency without closing and re-opening the image.

Looks to me as though the image has no transparency in it.

Menu: Layer > Transparency > Add alpha channel

HTH

Andrew

Jozef Legény
2010-05-10 09:58:24 UTC (over 14 years ago)

removing layer area

Also, consider using either the fuzzy select tool (magic wand) instead of scissors. You can fiddle with the threshold settings to get good results.

GIMP also provides a handy function in the Color menu called "Color to alpha", by default it does exactly what you want to do (but will also remove some white under your icons, so do the selection first anyways).

On Mon, May 10, 2010 at 08:09, Andrew wrote:

bob wrote:

Hi all.

I'm trying to edit an jpg image I've downloaded from the net. This image:

http://creativenerds.co.uk/wp-content/uploads/2009/04/twitter-icos.jpg

As you can see, the image has a white background.

I want to isolate one of the illustrations and remove the white

background.

First I use the scalpal tool to isolate one of the illustrations. Then I

use

either the select tool or the erasor to remove the white. Instead of

getting

transparent area as a result, I get a grey. (What is happening here)

To get around this, I first save the image as a png, then give the image

a

background layer with a random colour, save the image as an xcf and close

the

image. Then I open the xcf.
Again, I try to erase the white in order to get a transparent area.

Again, I

get an grey as a result.

Obviously, I'm running into the boundaries of my understanding of image formats here.

I'd love to know why I'm getting these results.

I'd also like to know how I can remove the white area and get

transaparency

without closing and re-opening the image.

Looks to me as though the image has no transparency in it.

Menu: Layer > Transparency > Add alpha channel

HTH

Andrew

Rob Antonishen
2010-05-10 14:12:22 UTC (over 14 years ago)

removing layer area

I have a script http://ffaat.pointclark.net/incoming/scripts/transbg.scm

The combines select by colour and colour to alpha with a few parameters to simplify this process.

-Rob A>

Pere Pujal i Carabantes
2010-05-10 14:46:48 UTC (over 14 years ago)

removing layer area

El dl 10 de 05 de 2010 a les 08:02 +0200, en/na bob va escriure:

Hi all.

I'm trying to edit an jpg image I've downloaded from the net. This image:

http://creativenerds.co.uk/wp-content/uploads/2009/04/twitter-icos.jpg

As you can see, the image has a white background.

I want to isolate one of the illustrations and remove the white background.

First I use the scalpal tool to isolate one of the illustrations. Then I use either the select tool or the erasor to remove the white. Instead of getting transparent area as a result, I get a grey. (What is happening here)

To get around this, I first save the image as a png, then give the image a background layer with a random colour, save the image as an xcf and close the image. Then I open the xcf.
Again, I try to erase the white in order to get a transparent area. Again, I get an grey as a result.

Obviously, I'm running into the boundaries of my understanding of image formats here.

I'd love to know why I'm getting these results.

JPG don't has transparencies, so GIMP opens them withouth alpha channel.

I'd also like to know how I can remove the white area and get transaparency without closing and re-opening the image.

Add alpha channel as suggested, then use the magic wand to select the wite then edit->cut and you are done.

But if you want more quality, then zoom to 800 or more, look at the white in the edges and continue adding a layer mask (transfering the alpha channel already created, then carefully paint the edges of the object in the main layer with the same color as the neighbour pixels, so the wite don't show in the edges.

Hope this helps. Pere