mercredi 31 mai 2017

Using Imagick with Laravel

I need to use Imagick in a Laravel project to convert an SVG to a PNG.

So far I have been unable to get it to work, Laravel keeps getting an error.

use Imagick;

in a function:

$image = new Imagick();

leads to

FatalThrowableError: Class 'Imagick' not found

We made sure that the extension is installed on the server, running

extension_loaded('imagick')

returns true.

What are we missing?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2qBSeyr
via IFTTT

Aucun commentaire:

Enregistrer un commentaire