Files
MagicSetEditor2/doc/function/invert.txt
T
twanvl ca0e762b64 New image functions:
* invert
 * flip_horizontal
 * flip_vertical
 * rotate

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1472 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:56:45 +00:00

15 lines
506 B
Plaintext

Function: invert
--Usage--
> invert(input: image)
Invert the colors in an image.
--Parameters--
! Parameter Type Description
| @input@ [[type:image]] Image to invert.
--Examples--
> invert("image_logo.png") == [[Image]]
>>> invert(<img src="image_logo.png" alt='"image_logo.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />) == <img src="image_logo_invert.png" alt='"image_logo_invert.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />