Einzelnen Beitrag anzeigen

  #2  
Alt 11.01.2008, 15:57
Peter Klein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] alpha text and GIFBUILDER

Hi Bartoz. There's no direct Alpha/tranparency commands in GIFBULIDER, but
you can use the masking feature to use dynamic masks for your text.

Like this:

-- cut --
lib.alphatext = COA
lib.alphatext {
10 = IMAGE
10.file = GIFBUILDER
10.file {
XY = 320,140
format = png

10 = IMAGE
10.file = fileadmin/templates/images/background.png
10.tile = 20,0

20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = [10.w]+20,[10.h]+30
format = png
backColor = #000000
10 = TEXT
10.text = TYPO3 - Get Content Right
10.fontColor = #FF0000
10.fontSize = 20
10.offset = 20,30
}
20.mask < .20.file
20.mask {
# Transparency level of the text, using greyscale colors
# #000000 = fully transparent
# #ffffff = not transparent at all
10.fontColor = #808080
}
}
}
page.600 < lib.alphatext
-- cut --

in the "20.mask", set the "10.fontColor" to the 'transparency level' you
need. Where #000000 is completly transparent, and #ffffff is non
transparent.

--
Peter Klein/Umloud Untd

"Bartosz Aninowski" <bart (AT) REM-IT-sonik (DOT) pl> skrev i en meddelelse
news:mailman.1.1199827124.13674.typo3-english (AT) lists (DOT) netfielders.de...
> Hi
> Is it possibe to add property like alpha or transparent = 50% for printed
> text?
>
>



_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english