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:
13
webroot/compare/compare-test.php
Normal file
13
webroot/compare/compare-test.php
Normal 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";
|
Reference in New Issue
Block a user