Image magic 7 with identify command not working

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
punith8626
Posts: 9
Joined: 2016-12-29T05:13:36-07:00
Authentication code: 1151

Image magic 7 with identify command not working

Post by punith8626 » 2017-02-14T02:33:54-07:00

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?

Bonzo
Posts: 2765
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Image magic 7 with identify command not working

Post by Bonzo » 2017-02-14T03:38:41-07:00

I think you need to use magick identify in V7

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests