ImageNegative
Inverts the pixel values of an image.
ImageNegative( image )
Returns: void
Argument | Description |
---|---|
image
any,
required
|
The image on which this operation is performed. Alias: name, source |
Examples
img=imageRead("https://hostek.com/blog/wp-content/uploads/2015/11/magician_lucee_wide.jpg");
imageNegative(img);
imageresize(img, "20%","200");
cfimage(action="writeToBrowser",source=img);