Re: [Gimp-user] Selections & Transparency
Josh, Sounds like what you want is my colortoalpha plug in, that is distributed with 1.2.x. I think its under Filters/Color/Color To Alpha... Just select white and click OK. Happy GIMPing, Seth Burgess [EMAIL PROTECTED] --- Josh Estelle <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm not sure how to describe this question to make > it very clear, > but i'm going to do my best > > What I have is an image, with some figure on a white > background. > The edges of the figure are not solid edges, it's > kind of like > the color blends into the white. > > What I want to do is be able to turn all the white > into transparent. > But just selecting the white pixels does not do what > I want, because > it leaves like 'half-white' pixels around the edge > of my image that > look bad. > > For example, say we just look at one row of the > image... 3 pixels > to be specific... > > the first pixel is white > the next is pinkish (50% white, 50% red) > and the third red > (in that order across a row) > > what i want to do is get a resulting image with: > the first pixel transparent > the next is 50% red and 50% transparent > and the last is red. > > Any ideas on a good way to do this? I've been > trying various things > but nothing has worked well. > > Thanks! > > Josh > > > ___ > Gimp-user mailing list > [EMAIL PROTECTED] > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
There's a couple of scripts that take a background color (or layer) and make a thin halo around your transparent image. This won't make a smooth gradient, but if you have some idea what your background is going to be it looks great. Even against a patterned background the human eye is quite forgiving. The 2 I know offhand (I wrote one) are prep4gif and alphaGif. Happy GIMPing, Seth Burgess [EMAIL PROTECTED] --- Bill Lee <[EMAIL PROTECTED]> wrote: > Carl Constantine wrote: > > > > On 3/12/2001 07:35, Carl Constantine at > [EMAIL PROTECTED] wrote: > > > > > On 3/12/2001 06:58, Jason P. Holland at > [EMAIL PROTECTED] wrote: > > > > > >> Thanks for the quick response. In IE 5.5, the > background is light blue. In > > >> netscape 4.76 on my linux box, its black. the > graphic is at > > >> http://jholland.nichware.net/alivepreview.html. > i have no clue. seems like > > >> it would work. thanks for the help. > > > > > > It appears properly in MSIE 5.0 on the Mac. > Netscape has a black background. > > > > > > I would hazard to guess that MSIE 5.5 on > Winblows isn't fully alpha-png > > > compatible just as suggested by Rebecca Walter. > It must be supported in the > > > browser for it to work. > > > > > > > I just thought of another approach, since the > graphic looks quite nice with > > the exception of the boarder around the main > image, you can always try > > cropping the image so there is no > boarder/background. Then it won't matter > > what browser you use, it will look correct. > > > > -- > > > > > __ _ > Carl B. Constantine > >/ / (_)__ __ __ >[EMAIL PROTECTED] > > / /__/ / _ \/ // /\ \/ / (2.4.1) > ICQ: 26351441 > > //_/_//_/\_ _/ /_/\_\ Stormix 2000 > > PGP > key available on request > > > > > > > Up the line - out the server- past the firewall > - nothing but Net!! > > This approach works just fine unless the image has > rounded corners, as many of > mine do. Cropping leaves you with a rectangular > image which, without a > transparent background, causes annoying white (or > whatever your background color > is) artifacts outside the rounded corners. > > Regards, > > Bill Lee > ___ > Gimp-user mailing list > [EMAIL PROTECTED] > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Selections & Transparency
Hi everyone, I'm not sure how to describe this question to make it very clear, but i'm going to do my best What I have is an image, with some figure on a white background. The edges of the figure are not solid edges, it's kind of like the color blends into the white. What I want to do is be able to turn all the white into transparent. But just selecting the white pixels does not do what I want, because it leaves like 'half-white' pixels around the edge of my image that look bad. For example, say we just look at one row of the image... 3 pixels to be specific... the first pixel is white the next is pinkish (50% white, 50% red) and the third red (in that order across a row) what i want to do is get a resulting image with: the first pixel transparent the next is 50% red and 50% transparent and the last is red. Any ideas on a good way to do this? I've been trying various things but nothing has worked well. Thanks! Josh ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] transparency with png
On Mon, 12 Mar 2001, Jason P. Holland wrote: > [...] Why would it behave this way? Appearently full PNG support is uneven in browsers. > i could use jpg, but i like the quality of png better. And JPEG doesn't support any transparency. If you want fading to backgroud, you are basically out of luck until PNGs are more fully supported. (GIFs don't work because it only has transparency on or off, no fading). When I first joined this list, I was asking about fading to transparent for the web. And have given up. What I now do is have a GIMP XCF file with the "top" layer fading to transparent as I want, and a background layer that I can change at will. Thus for my pale yellow backround web pages, I can creat a new non-transparent JPEG which fades to my pale yellow. For a white background, I create another JPEG which fades to white, etc. This isn't ideal, for all of the obvious reasons, but it does work for most usages. Someone who'd bothered to learn GIMP scripting could even script the generation of different versions each with a fade to a new background -j -- Jeffrey Goldberg I have recently moved, see http://www.goldmark.org/jeff/contact.html Relativism is the triumph of authority over truth, convention over justice ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
"Jason P. Holland" <[EMAIL PROTECTED]> writes: > Thanks for the quick response. In IE 5.5, the background is light blue. In > netscape 4.76 on my linux box, its black. the graphic is at > http://jholland.nichware.net/alivepreview.html. i have no clue. seems like > it would work. thanks for the help. Just for the record, Mozilla 0.8 displays the transparency correctly. Most browsers can handle regular (non-transparent) png's (apart from MS IE 4.x under Mac, IIRC). Very few have correct support for png transparency, sadly... -- Arcady Genkin Nostalgia isn't what it used to be. ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] transparency with png
On Mon, 12 Mar 2001 08:58:18 -0600, Jason P. Holland said: | Thanks for the quick response. In IE 5.5, the background is light blue. In | netscape 4.76 on my linux box, its black. the graphic is at | http://jholland.nichware.net/alivepreview.html. i have no clue. seems like | it would work. thanks for the help. | | Jason On Linux/Konqueror the background is a blue gradient with a black backdrop shadow (shadow has rounded edges) -- Koos PolT: +31 20 3116122 Systems Administrator F: +31 20 3116200 Compuware Europe B.V. E: [EMAIL PROTECTED] Amsterdam PGP public key available ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] transparency with png
yeah, i loose to much when i save it as a gif. and i was trying to move to png, with all the license issues involved with gif. png is just better. but if browser support is sad, i should forget it. i would rather crop off the edges and not have to deal with the background looking different in every brower. or, i could just make the background white and stick with that. thanks! jason > >In addition: saved as a gif and the transparency worked just fine. Interesting >comparison: >81561 Mar 12 09:37 test2.png > 31034 Mar 12 09:49 test2A.gif > 46725 Mar 12 09:39 test2A.png >(The A files are the saved alternatives from the test2.png original) > >Of course, the "fade to transparent" shadow of the graphic is lost with the gif, >replaced by a solid black shadow. Would that work properly with the png format? ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
Carl Constantine wrote: > > On 3/12/2001 07:35, Carl Constantine at [EMAIL PROTECTED] wrote: > > > On 3/12/2001 06:58, Jason P. Holland at [EMAIL PROTECTED] wrote: > > > >> Thanks for the quick response. In IE 5.5, the background is light blue. In > >> netscape 4.76 on my linux box, its black. the graphic is at > >> http://jholland.nichware.net/alivepreview.html. i have no clue. seems like > >> it would work. thanks for the help. > > > > It appears properly in MSIE 5.0 on the Mac. Netscape has a black background. > > > > I would hazard to guess that MSIE 5.5 on Winblows isn't fully alpha-png > > compatible just as suggested by Rebecca Walter. It must be supported in the > > browser for it to work. > > > > I just thought of another approach, since the graphic looks quite nice with > the exception of the boarder around the main image, you can always try > cropping the image so there is no boarder/background. Then it won't matter > what browser you use, it will look correct. > > -- > > __ _ Carl B. Constantine >/ / (_)__ __ __[EMAIL PROTECTED] > / /__/ / _ \/ // /\ \/ / (2.4.1)ICQ: 26351441 > //_/_//_/\_ _/ /_/\_\ Stormix 2000 > PGP key available on request > > > Up the line - out the server- past the firewall - nothing but Net!! This approach works just fine unless the image has rounded corners, as many of mine do. Cropping leaves you with a rectangular image which, without a transparent background, causes annoying white (or whatever your background color is) artifacts outside the rounded corners. Regards, Bill Lee ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
Bill Lee wrote: > > "Jason P. Holland" wrote: > > > > Thanks. Why would it behave this way? Does that have to do with the way > > the browser handles the png graphic format? And why is it not transparent? > > Anyone have a clue? i could use jpg, but i like the quality of png better. > > I appreciate all the help! > > > > Jason > > > > > -Original Message- > > > From: Jeffrey Goldberg [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, March 12, 2001 9:11 AM > > > To: Jason P. Holland > > > Cc: 'Rebecca J. Walter'; [EMAIL PROTECTED] > > > Subject: RE: [Gimp-user] transparency with png > > > > > > > > > On Mon, 12 Mar 2001, Jason P. Holland wrote: > > > > > > > In IE 5.5, the background is light blue. In > > > > netscape 4.76 on my linux box, its black. the graphic is at > > > > http://jholland.nichware.net/alivepreview.html. > > > > > > Opera (for Linux, v5-beta6) gives a black background. > > > > > > -j > > > > > > -- > > > Jeffrey Goldberg > > > I have recently moved, see http://www.goldmark.org/jeff/contact.html > > > Relativism is the triumph of authority over truth, convention > > > over justice > > > > > Opened in Netscape 4.61 under Linux. Using Plugger plugin for png files. It > displays as black, too. Opened the graphic in GIMP and then saved with the "Save > background color" unchecked: no difference. I suspect the plugin doesn't handle > the transparency properly. > > Regards, > > Bill Lee In addition: saved as a gif and the transparency worked just fine. Interesting comparison: 81561 Mar 12 09:37 test2.png 31034 Mar 12 09:49 test2A.gif 46725 Mar 12 09:39 test2A.png (The A files are the saved alternatives from the test2.png original) Of course, the "fade to transparent" shadow of the graphic is lost with the gif, replaced by a solid black shadow. Would that work properly with the png format? Regards, Bill Lee ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] transparency with png
cool! that is a good idea. if every browser displays my transparency different, i really don't have a choice though. thanks everyone for the suggestions and help! Jason > > I just thought of another approach, since the graphic looks > quite nice with > the exception of the boarder around the main image, you can always try > cropping the image so there is no boarder/background. Then it > won't matter > what browser you use, it will look correct. > ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
On 3/12/2001 07:35, Carl Constantine at [EMAIL PROTECTED] wrote: > On 3/12/2001 06:58, Jason P. Holland at [EMAIL PROTECTED] wrote: > >> Thanks for the quick response. In IE 5.5, the background is light blue. In >> netscape 4.76 on my linux box, its black. the graphic is at >> http://jholland.nichware.net/alivepreview.html. i have no clue. seems like >> it would work. thanks for the help. > > It appears properly in MSIE 5.0 on the Mac. Netscape has a black background. > > I would hazard to guess that MSIE 5.5 on Winblows isn't fully alpha-png > compatible just as suggested by Rebecca Walter. It must be supported in the > browser for it to work. > I just thought of another approach, since the graphic looks quite nice with the exception of the boarder around the main image, you can always try cropping the image so there is no boarder/background. Then it won't matter what browser you use, it will look correct. -- __ _ Carl B. Constantine / / (_)__ __ __[EMAIL PROTECTED] / /__/ / _ \/ // /\ \/ / (2.4.1)ICQ: 26351441 //_/_//_/\_ _/ /_/\_\ Stormix 2000 PGP key available on request Up the line - out the server- past the firewall - nothing but Net!! ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
"Jason P. Holland" wrote: > > Thanks. Why would it behave this way? Does that have to do with the way > the browser handles the png graphic format? And why is it not transparent? > Anyone have a clue? i could use jpg, but i like the quality of png better. > I appreciate all the help! > > Jason > > > -Original Message- > > From: Jeffrey Goldberg [mailto:[EMAIL PROTECTED]] > > Sent: Monday, March 12, 2001 9:11 AM > > To: Jason P. Holland > > Cc: 'Rebecca J. Walter'; [EMAIL PROTECTED] > > Subject: RE: [Gimp-user] transparency with png > > > > > > On Mon, 12 Mar 2001, Jason P. Holland wrote: > > > > > In IE 5.5, the background is light blue. In > > > netscape 4.76 on my linux box, its black. the graphic is at > > > http://jholland.nichware.net/alivepreview.html. > > > > Opera (for Linux, v5-beta6) gives a black background. > > > > -j > > > > -- > > Jeffrey Goldberg > > I have recently moved, see http://www.goldmark.org/jeff/contact.html > > Relativism is the triumph of authority over truth, convention > > over justice > > Opened in Netscape 4.61 under Linux. Using Plugger plugin for png files. It displays as black, too. Opened the graphic in GIMP and then saved with the "Save background color" unchecked: no difference. I suspect the plugin doesn't handle the transparency properly. Regards, Bill Lee ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
On 3/12/2001 06:58, Jason P. Holland at [EMAIL PROTECTED] wrote: > Thanks for the quick response. In IE 5.5, the background is light blue. In > netscape 4.76 on my linux box, its black. the graphic is at > http://jholland.nichware.net/alivepreview.html. i have no clue. seems like > it would work. thanks for the help. It appears properly in MSIE 5.0 on the Mac. Netscape has a black background. I would hazard to guess that MSIE 5.5 on Winblows isn't fully alpha-png compatible just as suggested by Rebecca Walter. It must be supported in the browser for it to work. -- __ _ Carl B. Constantine / / (_)__ __ __[EMAIL PROTECTED] / /__/ / _ \/ // /\ \/ / (2.4.1)ICQ: 26351441 //_/_//_/\_ _/ /_/\_\ Stormix 2000 PGP key available on request Up the line - out the server- past the firewall - nothing but Net!! ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] transparency with png
Thanks. Why would it behave this way? Does that have to do with the way the browser handles the png graphic format? And why is it not transparent? Anyone have a clue? i could use jpg, but i like the quality of png better. I appreciate all the help! Jason > -Original Message- > From: Jeffrey Goldberg [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 12, 2001 9:11 AM > To: Jason P. Holland > Cc: 'Rebecca J. Walter'; [EMAIL PROTECTED] > Subject: RE: [Gimp-user] transparency with png > > > On Mon, 12 Mar 2001, Jason P. Holland wrote: > > > In IE 5.5, the background is light blue. In > > netscape 4.76 on my linux box, its black. the graphic is at > > http://jholland.nichware.net/alivepreview.html. > > Opera (for Linux, v5-beta6) gives a black background. > > -j > > -- > Jeffrey Goldberg > I have recently moved, see http://www.goldmark.org/jeff/contact.html > Relativism is the triumph of authority over truth, convention > over justice > ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] transparency with png
On Mon, 12 Mar 2001, Jason P. Holland wrote: > In IE 5.5, the background is light blue. In > netscape 4.76 on my linux box, its black. the graphic is at > http://jholland.nichware.net/alivepreview.html. Opera (for Linux, v5-beta6) gives a black background. -j -- Jeffrey Goldberg I have recently moved, see http://www.goldmark.org/jeff/contact.html Relativism is the triumph of authority over truth, convention over justice ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
RE: [Gimp-user] transparency with png
Thanks for the quick response. In IE 5.5, the background is light blue. In netscape 4.76 on my linux box, its black. the graphic is at http://jholland.nichware.net/alivepreview.html. i have no clue. seems like it would work. thanks for the help. Jason > > If you unchecked the save background, it should have been fine. Which > means your problem is probably not in GIMP but rather with using a > browser that isnt fully alpha-in-png compatible. If you have a link, > maybe some of us could take a look and see if it is fine in another > browser. ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparency with png
If you unchecked the save background, it should have been fine. Which means your problem is probably not in GIMP but rather with using a browser that isnt fully alpha-in-png compatible. If you have a link, maybe some of us could take a look and see if it is fine in another browser. ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] transparency with png
hello all, i need a bit of help saving a png graphic with a transparent background. i have some a simple text graphic i want to use on a webpage, transparent in gimp of course. but when i go to save it, either it saves it with my background color, or an off blue color. i have seen the png option box come up when i go to save the graphic. i unselected 'save background color', thinking it would retain the transparent attribute. but when i check the graphic out in a web browser, its some off color, not even close to transparency. can anyone offer some help to a new user of gimp? this seems ridiculously simple, but i can't seem to get it to work. thanks! jason ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user