Zum Inhalt springen

imageMagickConvert

Erstellt am 6. März 2009 · 1 Antwort · letzte Antwort am 6. März 2009

Tags: Frage

stereotyp ·

Hallo,

folgendes gibt nix aus:

$img = t3lib_div::makeInstance('t3lib_stdGraphic');
$img->init();
$imgInfo = $img->imageMagickConvert($orig,'web','100','100','','','',0);
echo $imgInfo[3];

$orig ist in etwa: fileadmin/fotos/blabla.jpg

liegt da der Fehler? muß der Pfad anders lauten?

oder woran könnte es noch liegen (IM ist installiert)

vielen Dank

stereotyp ·

es scheint als würde

$ret = exec($cmd) in t3lib_stdGraphic nicht ausgeführt:
(das $cmd kann ich mir noch per echo ausgeben lassen)

function imageMagickExec($input,$output,$params)    {
       if (!$this->NO_IMAGE_MAGICK)    {
            $cmd = t3lib_div::imageMagickCommand('convert', $params.' '.$this->wrapFileName($input).' '.$this->wrapFileName($output));
            $this->IM_commands[] = array($output,$cmd);

             $ret = exec($cmd);
            t3lib_div::fixPermissions($this->wrapFileName($output));    // Change the permissions of the file

           return $ret;
        }
   }

woran kann es liegen???
im läuft, seite liegt hier bei mittwald