Running from CLI I get this error: Uncaught ImagickException: improper image header, running from web I have no issues using PHP, why?

后端 未结 0 1011
春和景丽
春和景丽 2021-01-05 12:01

Can someone help me, I am trying to run a simple code to count PDF pages count with this code:

$pathToFile = \'book-97.pdf\';
$img = new Imagick();
$img->r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题