Page 1 of 1

Image magic 7 with identify command not working

Posted: 2017-02-14T02:33:54-07:00
by punith8626
Hello,

When I try to execute command using Image magic 7 it gives the result.

Code: Select all

identify -format %n test.tif
But When I try to execute from php code nothing will be output
Here is the PHP code.

Code: Select all

putenv($this->imageMagicPath);
$tiffimage = 'test.tiff';
$totalPageCount = exec('identify -format %n '.$tiffimage.' ');
Could you please help me on this?

Re: Image magic 7 with identify command not working

Posted: 2017-02-14T03:38:41-07:00
by Bonzo
I think you need to use magick identify in V7