1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-06 08:07:42 +02:00
Files
php-cimage/webroot/test/test_issue49.php
2014-11-27 22:04:41 +01:00

39 lines
817 B
PHP

<?php
// Include config for all testcases
include __DIR__ . "/config.php";
// The title of the test case
$title = "Testing issue 49 - flexible convolution";
// Provide a short description of the testcase.
$description = "Creating shortcuts to custom convolutions by using configurable list of constant convolutions.";
// Use these images in the test
$images = array(
'kodim08.png',
);
// For each image, apply these testcases
$testcase = array(
'&nc&width=400&convolve=lighten',
'&nc&width=400&convolve=darken',
'&nc&width=400&convolve=sharpen',
'&nc&width=400&convolve=emboss',
'&nc&width=400&convolve=blur',
'&nc&width=400&convolve=blur:blur',
'&nc&width=400&convolve=blur:blur:blur:blur',
);
// Apply testcases and present results
include __DIR__ . "/template.php";