Page 1 of 1

Verbose problem

Posted: 2013-01-22T04:22:22-07:00
by adil@alfasoft.ro
I use ImageMagick in command line and send the commands from php. Can anybody tell'me why I can not catch the -verbose -deskew message? (in command line works ) . Also, the info: message works. Thank you.

Re: Verbose problem

Posted: 2013-01-22T13:21:01-07:00
by fmw42
try adding 2>&1 after the output

<?php
exec("convert -verbose input -deskew 40 output 2>&1",$out,$returnval);
foreach($out as $text)
{echo "$text<br>";}
?>