<?php

require __DIR__ . '/../vendor/autoload.php';

try {
    $manager = extension_loaded('gd') ? \Intervention\Image\ImageManager::gd() : \Intervention\Image\ImageManager::imagick();
    echo 'configured: ' . (extension_loaded('gd') ? 'gd' : 'imagick') . PHP_EOL;
} catch (\Throwable $e) {
    echo 'error: ' . $e->getMessage() . PHP_EOL;
}
