Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name |
misch() |
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Examples |
Hintergrund(lad_s_Bild("rockies.jpg"));
Bild img = lad_s_Bild("degaul.jpg");
zeig_s_Bild(img, 0, 0);
misch(img, 0, 0, 33, 100, 67, 0, 33, 100, ADD);
Hintergrund(lad_s_Bild("rockies.jpg"));
Bild img = lad_s_Bild("degaul.jpg");
zeig_s_Bild(img, 0, 0);
misch(img, 0, 0, 33, 100, 67, 0, 33, 100, SUBTRACT);
Hintergrund(lad_s_Bild("rockies.jpg"));
Bild img = lad_s_Bild("degaul.jpg");
zeig_s_Bild(img, 0, 0);
misch(img, 0, 0, 33, 100, 67, 0, 33, 100, DARKEST);
Hintergrund(lad_s_Bild("rockies.jpg"));
Bild img = lad_s_Bild("degaul.jpg");
zeig_s_Bild(img, 0, 0);
misch(img, 0, 0, 33, 100, 67, 0, 33, 100, LIGHTEST);
|
|||||||||||||||||||||
| Description | Blends a region of pixels from one image into another (or in itself again) with full alpha channel support.
There is a choice of the following modes to blend the source pixels (A) with the ones of pixels in the destination image (B): and Photoshop. and Photoshop. source and destination regions are different sizes, the image will be automatically resized to match the destination size. If the srcImg parameter is not used, the display window is used as the source image. For example, a call to Bildmodus(CORNERS) will change the Feischterbreiti and Feischterhoechi related parameters to define the x and y values of the opposite corner of the image. |
|||||||||||||||||||||
| Syntax |
misch(x, y, Feischterbreiti, Feischterhoechi, dx, dy, dFeischterbreiti, dFeischterhoechi, MODE) misch(srcImg, x, y, Feischterbreiti, Feischterhoechi, dx, dy, dFeischterbreiti, dFeischterhoechi, MODE) |
|||||||||||||||||||||
| Parameters |
|
|||||||||||||||||||||
| Usage | Web & Application | |||||||||||||||||||||
| Related | filter() |

