CodeIgniter Forums
About ImageMagick - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: About ImageMagick (/showthread.php?tid=77959)



About ImageMagick - mcsaygili - 11-10-2020

Hi,
 I was enabled imagemagick on my localhost. There is a document for that. https://codeigniter4.github.io/userguide/libraries/images.html
But there is no information about using imagemagic with CLI support. I can use imagemagick with my frontend but not working with CLI. I got "missingExtension" error but not missing.

Smile 

Any idea ? Thanks.

Images.php
My configs are,
public $defaultHandler = 'imagick';
public $libraryPath = 'C:\\ImageMagick\\magick.exe';


Example,
$image = \Config\Services::image('imagick');
var_dump($image);