[TYPO3] alpha text and GIFBUILDER
Peter Klein
peter at umloud.dk
Fri Jan 11 15:57:52 CET 2008
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.pl> skrev i en meddelelse
news:mailman.1.1199827124.13674.typo3-english at lists.netfielders.de...
> Hi
> Is it possibe to add property like alpha or transparent = 50% for printed
> text?
>
>
More information about the TYPO3-english
mailing list