Verbose problem

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
adil@alfasoft.ro
Posts: 24
Joined: 2012-01-10T05:19:23-07:00
Authentication code: 8675308

Verbose problem

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Verbose problem

Post 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>";}
?>
Post Reply