Zum Inhalt springen

Imagemagick - Bild+Text

Erstellt am 4. Februar 2009 · 3 Antworten · letzte Antwort am 7. Februar 2009

Tags: Frage

theduk3 ·

Hi

Ich hab ein Problem mit Imagemagick : es ist ordnungsgemäß installiert und läuft auch.

Wenn ich mit diesem Code versuche ein Bild mit Text-Overlay zu erstellen taucht nur das Bild auf, nicht der Text:

lib.menuimg = IMAGE
  lib.menuimg {
  	file = GIFBUILDER
  	file {
  		XY = 180,24
  		format = png
  		
  		10 = IMAGE
  		10.file = fileadmin/templates/img/bg_sidenav_level1_regular.png
 
  		15 = TEXT
  		15 {
  			text.field = Menu
			text = TYPO3 rulez !
                        fontColor = #6D5B26
                        fontSize = 16
                        offset = 10,20
                        fontFile = fileadmin/test.ttf
               }
  	}
  }

Wenn ich den Text allein teste ohne Bild darunter gibts keine Probleme, er wird problemlos angezeigt.