mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-18 22:01:23 +02:00
Adding option taking comma-separated list of 11 float-values, wraps and exposes . #4
This commit is contained in:
@@ -472,6 +472,15 @@ verbose("dpr = $dpr");
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* convolve - image convolution as in http://php.net/manual/en/function.imageconvolution.php
|
||||
*/
|
||||
$convolve = get('convolve', null);
|
||||
|
||||
verbose("convolve = $convolve");
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Display image if verbose mode
|
||||
*/
|
||||
@@ -483,7 +492,7 @@ if ($verbose) {
|
||||
unset($query['nocache']);
|
||||
unset($query['nc']);
|
||||
unset($query['json']);
|
||||
$url1 = '?' . http_build_query($query);
|
||||
$url1 = '?' . htmlentities(urldecode(http_build_query($query)));
|
||||
echo <<<EOD
|
||||
<a href=$url1><code>$url1</code></a><br>
|
||||
<img src='{$url1}' />
|
||||
@@ -526,6 +535,7 @@ $img->setVerbose($verbose)
|
||||
'sharpen' => $sharpen,
|
||||
'emboss' => $emboss,
|
||||
'blur' => $blur,
|
||||
'convolve' => $convolve,
|
||||
'rotateAfter' => $rotateAfter,
|
||||
'autoRotate' => $autoRotate,
|
||||
|
||||
|
Reference in New Issue
Block a user