I have a problem. I have installed Image Imagick software, this file:
ImageMagick-6.8.4-6-Q16-x86-dll.exe
And my php code goes like this:
<?php
$gume = 'svg/EC_tyre_label.svg';
$im = new Imagick();
$svg = file_get_contents($gume);
$im->readImageBlob($svg);
/*png settings*/
$im->setImageFormat("png24");
$im->writeImage('svg/EC_tyre_label.png');
$im->clear();
$im->destroy();
?>
<body>
<img src="svg/EC_tyre_label.png" />
</body>
My version of php is 5.3.8 and i am using xampp version 1.7.7. When i open it in the browser, I get this error:
Fatal error: Class 'Imagick' not found in C:\xampp\htdocs\SVG_antonio\index.php on line 9
Does anyone know how to solve this problem?? Cheers.