1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-25 17:00:44 +02:00

Adding compare-page for comparing images. Issue #20.

This commit is contained in:
Mikael Roos
2014-12-19 15:21:47 +01:00
parent 8c4b22ca66
commit b5100845e9
3 changed files with 282 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
$script = <<<EOD
CImage.compare({
"input1": "../img.php?src=car.png",
"input2": "../img.php?src=car.png&sharpen",
"input3": "../img.php?src=car.png&blur",
"input4": "../img.php?src=car.png&emboss",
"json": true,
"stack": false
});
EOD;
include __DIR__ . "/compare.php";