|
|
3.3. Image plotting Statement image. Plots the image on slide. image (x, y, dx, dy, Mask, Source_x, Source_y, Source_dx, Source_dy)     x (optional) - horizontal position. Default is 0.     y (optional) - vertical position. Default is 0.     dx (optional) - horizontal size. Default is from the x to the slide right boundary.     dy (optional) - vertical size. Default is from the y to the slide bottom boundary.     Mask (optional) - mask for the file search (spaces are not allowed). *.* is a default.     Source_x (optional) - horizontal position of the source crop area. Default is 0.     Source_y (optional) - vertical position of the source crop area. Default is 0.     Source_dx (optional) - horizontal size of the source crop area. Default is from Source_x to the image right boundary.     Source_dy (optional) - vertical size of the source crop area. Default is from Source_y to the image bottom boundary. Statement imageover. Plots the image on slide, preserving the content of pixels based on the background color. imageover (x, y, dx, dy, Mask, Source_x, Source_y, Source_dx, Source_dy, tColor, tTolerance)     x (optional) - horizontal position. Default is 0.     y (optional) - vertical position. Default is 0.     dx (optional) - horizontal size. Default is from the x to the slide right boundary.     dy (optional) - vertical size. Default is from the y to the slide bottom boundary.     Mask (optional) - mask for the file search (spaces are not allowed). *.* is a default.     Source_x (optional) - horizontal position of the source crop area. Default is 0.     Source_y (optional) - vertical position of the source crop area. Default is 0.     Source_dx (optional) - horizontal size of the source crop area. Default is from Source_x to the image right boundary.     Source_dy (optional) - vertical size of the source crop area. Default is from Source_y to the image bottom boundary.     tColor (optional) - transparent colour in ARGB format, e.g. FFFFFFFF - white. White is a default.     tTolerance (optional) - transparent colour tolerance (by each component). 0 is a default. The following example generates png files with PETRONODE logos superimposed on it # # Example 2. # Demonstrates usage of image and imageover # slide (Example_02, 200, 300, png)     bColor = FFAA00AA image (10, 10, 100, 50)     Mask = petro*.gif imageover (20, 70, 100, 50)     Mask = petro*.gif     tColor = 000000     tTolerance = 2 The resulting image is like this:
|
|