Closed marijang closed 7 years ago
and how to implement into laravel 5.3
FatalThrowableError in Palette.php line 54: Call to undefined function League\ColorExtractor\imagecreatefromstring()
How do you have managed to install it without GD?
and how to implement into laravel 5.3
Whatever the framework you just have to instanciate one or two classes.
I have php7 on centos yum install yum install php70w-gd
ok i got it thanks:D
Well I don't see how you could have GD enabled without having imagecreatefromstring
.
What do
composer show -p | grep gd
and
php -m | grep gd
show?
I'd say he did what I just did and forgot to restart php after enabling gd. Just for future ref.
FatalThrowableError in Palette.php line 54: Call to undefined function League\ColorExtractor\imagecreatefromstring()