Important notice: the development of WideImage 1.0 branch is discontinued.
Please visit
http://wideimage.sourceforge.net for the new version of library and documentation.
This web site will remain accessible to serve as documentation for the old versions of the library.
For help on migration, please refer
to the
migration
guide.
wiImage::asNegative()
See:
List of operations
Signature
wiImage::asNegative()
Parameters
- result (wiTrueColorImage): negative true-color image
Description
This method returns a negative copy of an image.
Examples
$img = wiImage::load('/path/to/an/image.png');
$img->asNegative()->saveToFile('negative.jpg');
CategoryDocApi
There are no comments on this page. [Add comment]