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

transparent objects on and gif

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.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

transparent objects on and gif Alex Moreno 24 Jan 21:01
  transparent objects on and gif Dan Gerhards 24 Jan 23:12
  transparent objects on and gif Scott Bicknell 24 Jan 23:24
  transparent objects on and gif Olivier Ripoll 25 Jan 10:36
Alex Moreno
2007-01-24 21:01:18 UTC (over 17 years ago)

transparent objects on and gif

Good afternoon everybody,

im trying to export this image from png to gif because of the IE problems:

http://bodaestilo.com/templates/bodaestilo/images/content-top.png

to get the effect that you can see on http://bodaestilo.com of transparent shadow bellow the text.

The question is that when i try to export to gif the transparency dissepears. I´ve been trying different things with no luck. Can anyone help me please?

--
Alejandro Moreno
Servicios de marketing online en tdo.es

Dan Gerhards
2007-01-24 23:12:26 UTC (over 17 years ago)

transparent objects on and gif

GIF can only use one color for transparencies. That means partly transparent parts of your picture will be changed to 100% opaque or 100% transparent. You have to use a PNG to get the effect you want, and IE 6 won't display it correctly. This is a problem with IE, not with what you are doing. On the bodaestilo page, there is transparency in front of the chairs with Firefox, but not with IE 6.

There are other ways to get that effect with IE 6 and below. There are some kludgy ways to use Javascript (I don't remember what--do a search), or you can just use one, flattened image that has the transparencies built in. If you will only have one or two backgrounds to work with, it's not that bad. The solution I like is to make something that is legible in IE, and looks right with a real browser.

---Dan

On Wednesday 24 January 2007 12:01 pm, Alex Moreno wrote:

Good afternoon everybody,

im trying to export this image from png to gif because of the IE problems:

http://bodaestilo.com/templates/bodaestilo/images/content-top.png

to get the effect that you can see on http://bodaestilo.com of transparent shadow bellow the text.

The question is that when i try to export to gif the transparency dissepears. I´ve been trying different things with no luck. Can anyone help me please?

--
Alejandro Moreno
Servicios de marketing online en tdo.es

Scott Bicknell
2007-01-24 23:24:39 UTC (over 17 years ago)

transparent objects on and gif

On Wednesday 24 January 2007 12:01 pm, Alex Moreno wrote:

im trying to export this image from png to gif because of the IE problems:

http://bodaestilo.com/templates/bodaestilo/images/content-top. png

to get the effect that you can see on http://bodaestilo.com of transparent shadow bellow the text.

The question is that when i try to export to gif the transparency dissepears. I´ve been trying different things with no luck. Can anyone help me please?

As was pointed out by Dan, gif transparency is an all or nothing deal and only works with one color.

One way to simulate it with gifs is to create a checkerboard pattern of 2 by 2 pixels, alternating black and white. Then add a layer mask to your image and bucket fill the mask using the checkerboard pattern. It will render every other pixel in your image transparent and allow content beneath to show through. It isn't nearly as smooth as png alpha transparency, but it works.

Olivier Ripoll
2007-01-25 10:36:31 UTC (over 17 years ago)

transparent objects on and gif

Alex Moreno wrote:

Good afternoon everybody,

im trying to export this image from png to gif because of the IE problems:

Have your tried the solution proposed by microsoft to have PNG transparency in IE ?
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294714

GIF format cannot do "transparency", just "cut-through". For drop shadow, you need transparency. Metaphors/comparisons always end up being broken, but imagine a concrete house wall with a wooden door and some windows.
GIF is like the wooden door: closed, you do not see through at all, opened, it is not in the frame, so you can see through the frame what is inside the house. (It does not mean the door is transparent, just that is is opened).
PNG is like the windows: you can see through, there are made of glass, a transparent material. Some are dusty and you see through, although attenuated, some have curtains, and you see only a little through them, some others are clean and you see through them like if they were opened.

Best regards,

Olivier

http://bodaestilo.com/templates/bodaestilo/images/content-top.png

to get the effect that you can see on http://bodaestilo.com of transparent shadow bellow the text.

The question is that when i try to export to gif the transparency dissepears. I´ve been trying different things with no luck. Can anyone help me please?

--
Alejandro Moreno
Servicios de marketing online en tdo.es

------------------------------------------------------------------------