mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Yet more function documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@571 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
Function: linear_blend
|
||||
|
||||
--Usage--
|
||||
> combine_blend(image1: image, image2: image, combine: combine_mode)
|
||||
|
||||
Blend two images together using a [[type:combine|combine function]].
|
||||
|
||||
The images must have the same size.
|
||||
|
||||
--Parameters--
|
||||
! Parameter Type Description
|
||||
| @image1@ [[type:image]] First image to blend
|
||||
| @image2@ [[type:image]] Second image to blend
|
||||
| @combine@ [[type:combine]] Combining function to use
|
||||
|
||||
--Examples--
|
||||
> combine_blend(image1: "image1.png", image2: "image2.png", combine: "add") == [[Image]]
|
||||
<pre style="padding-top:2px;padding-bottom:2px;"> combine_blend(image1: <img src="image1.png" alt='"image1.png"' style="border:1px solid black;vertical-align:middle;" />, image2: <img src="image2.png" alt='"image2.png"' style="border:1px solid black;vertical-align:middle;" />, combine: "add") == <img src="image_combine_blend.png" alt='"image_combine_blend.png"' style="border:1px solid black;vertical-align:middle;" /></pre>
|
||||
|
||||
--See also--
|
||||
| [[fun:linear_blend]] Blend two images together using a linear gradient.
|
||||
| [[fun:masked_blend]] Blend two images together using a third mask image.
|
||||
Reference in New Issue
Block a user