Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
The problem is, I want to start to use Imagick class, and try to run scripts like this (one example):
exec("/usr/local/bin/convert $cmd $imfinal");
When I execute the above code, I receive this error:Fatal error: Class 'imagick' not found in /home/saidia/public_html/c
$im = new imagick( $input ); $distort = array( 180.0, 0.0 ); $im->setImageVirtualPixelMethod( Imagick::VIRTUALPIXELMETHOD_TRANSPARENT ); $im->setImageMatte( TRUE ); $im->distortImage( Imagick::DISTORTION_ARC, $distort, TRUE ); $im->writeImage( $imfinal ); $im->destroy();
So my question is, what I have to do for start to work with the imagick class? or what I have to say in my VPN support for the install that for me?
$im = new imagick( $input );
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
22 Experts available now in Live!