Ich versuche verzweifelt mit Imagemagick einen Text über eine Grafik zu legen. Das neue Bild wird zwar generiert allerdings finde ich keine Text darauf. Kann mir bitte jemand sagen woran das liegt?
function generateText($images, $txt) {
GLOBAL $TYPO3_CONF_VARS;
for ($i=0;$i<count($images);$i++) {
$bild = "uploads/tx_Startteaser/$images[$i]";
$bild_neu = "uploads/tx_Startteaser/view/$images[$i]";
$pfad = $TYPO3_CONF_VARS["GFX"]["im_path"]."/convert";
$font = '-font 12x24 -pen blue -draw "text 10,10 Cockatoo"';
exec("$pfad $font $bild $bild_neu");
}
}
#angry#