Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] alpha text and GIFBUILDER within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi Is it possibe to add property like alpha or transparent = 50% for printed text? _______________________________________________ TYPO3-english mailing list ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] Gifbuilder und Text | Thomas Vogt | typo3-german@lists.netfielders.de | 7 | 25.11.2007 12:15 |
| [TYPO3] GIFBUILDER output png-24 with alpha channel | Franz Josef | typo3-english@lists.netfielders.de | 1 | 11.10.2007 14:50 |
| [TYPO3-german] Probleme mit Gifbuilder, Bild mit Text | typo3-german@lists.netfielders.de | 2 | 22.08.2007 09:47 | |
| [TYPO3] maxWidth and multi-line text in GIFBUILDER | Rens Admiraal | typo3-english@lists.netfielders.de | 1 | 16.08.2007 08:53 |
| [TYPO3-german] GIFBUILDER erzeugt keinen Text | Lars Brinkmann | typo3-german@lists.netfielders.de | 1 | 08.01.2007 18:10 |