M3Server Technical Blog Advanced Admin Imagick PHP test code

Imagick PHP test code



Want to test Imagick in your php scripts?  Save this file as imagick_test.php and upload it to your server:

You will need to create a directory named test and chmod that to 777 so the script can write to it.


In the event of line wraps viewing this page, please see the raw source here:
imagick_test.php

While programming is beyond the scope of technical support, this test page exists as a troubleshooting step. If this test script works but your application doesn’t, contact your software vendor’s support and show them your test example that you used via this article.

More examples are found here:
php.net imagick

Leave a Reply