• Re: exec w. imagemagick gives incomplete result

    From V@21:1/5 to Morten on Fri Jul 14 09:59:05 2023
    anglezzzzzzz.likesyou.org/a.php⠀⠀⠀⠀⠀⠀⠀ ⠀⠀ christyansworld.atwebpages.com/a.php⠀⠀⠀⠀⠀⠀⠀ youthmeetupplace.talk4fun.net/a.php⠀⠀⠀⠀⠀⠀⠀⠀ kohtumispaik3.66ghz.com/a.php⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

    Heia...........Heida pilk peale nendele............


    Postita ka midagi sinna.

    Siis pärast hea mul lugeda, et mu lehtedel on mõni külastaja ka !



    On Friday, December 19, 2003 at 12:51:21 PM UTC+2, Morten wrote:
    Pedro Graca <hex...@hotpop.com> wrote in message news:<brtb6g$74nr4$1...@ID-203069.news.uni-berlin.de>...
    Morten wrote:
    But when running via PHP exec, the yellow box gets created alright,
    but the text doesn't show.

    exec($CONVERT." -font helvetica xc:yellow -resize 100x15! -gravity \"West\" -draw \"text 0,0 \'".$text."\'\" ".$file, $out, $err);

    Any suggestions?

    Try echo instead of exec

    echo $CONVERT." -font helvetica xc:yellow -resize 100x15! -gravity
    \"West\" -draw \"text 0,0 \'".$text."\'\" ".$file;
    And pasting the result of echo into a term works. I've found that this is highly likely to be due to imagemagick convert invokes another executable which is in /usr/local/bin and this path is not part of the PATH visible
    to PHP (according to phpinfo()). How do I add it?
    Thanks,
    Morten

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)