When I try to execute command using Image magic 7 it gives the result.
Code: Select all
identify -format %n test.tif
Here is the PHP code.
Code: Select all
putenv($this->imageMagicPath);
$tiffimage = 'test.tiff';
$totalPageCount = exec('identify -format %n '.$tiffimage.' ');