[TYPO3-german] transparentes PNG

Rainer Schleevoigt rainer at webmasterei-hamburg.de
Mon Feb 16 20:06:38 CET 2009


Rainer Schleevoigt schrieb:
> David Bruchmann schrieb:
>   

Ich habe hier etwas gefunden, was ich auch wegen Verständnisproblemen, 
nicht zu Laufen bekomme:
http://www.typo3-jack.net/typo3-english-lists-netfielders-de/10630-typo3-alpha-text-gifbuilder.html


-- 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.


More information about the TYPO3-german mailing list