Zum Inhalt springen

GIFBUILDER

Erstellt am 29. November 2005 · Noch keine Antworten

Tags: Frage

Bärlie ·

Hallo!

Ich habe ein ziemlich verschachteltes Bild und ich möchte eine bestimmte Farbe als transparent definieren, aber irgendwie funktioniert das bei mir nicht? Ich mach da irgendwas falsch, weiß aber nicht was.

Wäre es eventuell auch möglich eine bestimmte Farbe gegen eine andere zu tauschen?

temp.banner = IMAGE
temp.banner {
  file = GIFBUILDER
  file.XY = 900,100
  transparentColor = #FF00FF
  file.10 = BOX
  file.10 {
    dimensions = 0,0,900,100
    color = {$color1}
    offset = 0,0
  }
  file.20 = IMAGE
  file.20 {
    file = {$banner_rightimage}
    offset = 900-[20.w],0
  }
  file.30 = IMAGE
  file.30 {
    file = EXT:3col_tmpl/template/images/banner_white.gif
    offset = 900-[30.w],100-[30.h]
  }
  file.40 = IMAGE
  file.40 {
    file = {$logo}
    offset = 10,5
  }
  file.50 = TEXT
  file.50 {
    fontFile = EXT:3col_tmpl/template/fonts/verdana.ttf
    fontSize = 34
    fontColor = #FFFFFF
    #niceText = 1
    text = {$banner_text}
    offset = [40.w]+20,50
  }
  file.60 = TEXT
  file.60 {
    fontFile = EXT:3col_tmpl/template/fonts/verdana.ttf
    fontSize = 25
    fontColor = #999999
    niceText = 1
    text = {$banner_subtext}
    offset = [40.w]+20+[50.w]+10,50
  }
}

Die transparente Farbe ist im banner_white.gif enthalten, die dann im Bild die Durchsicht auf den Hintergrund ermöglichen soll. Schreibe ich das transparentColor an die falsche Stelle? Ich hatte es auch so:

file.30 {
    file = EXT:3col_tmpl/template/images/banner_white.gif
    offset = 900-[30.w],100-[30.h]
  transparentColor = #FF00FF
  }

aber das hat auch nicht funktioniert (das sollte aber eigentlich nur Blick auf die darunterliegende Box freigeben?) 😢

Ich hoffe es kann mir jemand helfen?

Danke
Beatrice