Operations with images are enclosed in {} first operation starts with #
Load (parameter) Loads imageto Graphic Processor for further processing. |
![]() |
![]() |
parameter
Example:
LoadThumbnail (parameter, width, height) Loads image to Graphic Processor as Thumbnails. Compared to Load this operation requires less time in case of JPG file. Image adjusts for width and height sizes. |
![]() |
![]() |
parameter
Width Int size in pixels
Height Int size in pixels
Example:
Out (parameter) records the result image to disk. |
![]() |
![]() |
parameter
String Relative path to display image. Supports the template of the output file name.
Example:
{#Out(LoadThumbnail(2,111,170),'/Thumbnails/over*.jpg');}
Resize(width, height) adjusts the scale (changes size) of the preloaded image. |
![]() |
![]() |
width Int size in pixels height Int size in pixels
Example:
{#Out(Resize(Load(3),111,170)),'/Thumbnails/over_*.jpg');}
TextOut1(Text, FontName, Hfont, Flags,X,Y,Color) Displays the text to the preloaded image. |
![]() |
![]() |
parameter
Example:
Bold Italic align center 16+32+4 =52
X,Y
Int Coordinates of text displaying in pixels according to Alignment.
Color
COLOR Font color
COLOR - hexadecimal number in single quotation marks
'0xAABBCCEE'
AA - transparency level
BB - blue component
CC - green component
EE - red component
Example:
{#Out(TextOut1(Load('images/header.jpg'),'#TITLE#','Arial', 60,4,
400,113,'0x00CCFFFF' ),'images/headFuck.jpg');}
Gray() Converts image to black and white. |
![]() |
![]() |
Without parameters
Colorize (DarkColor, MidleColor,LightColor) converts image to three-color. Gray() is the particular case of three-color. Colorize. Where dark and light colors are black and white colors correspondingly, and MidleColor is the gradation of gray. |
![]() |
![]() |
parameter
DarkColor, COLOR
MidleColor COLOR
LightColor COLOR
Example:
{#Out(Colorize(LoadThumbnail(1,111,170),0,'0x0000FFFF','0x00FFFFFF'),'/Thumbnails/over_*.jpg');}
Rotate (Angle) Rotation of image to the given angle in degrees. |
![]() |
![]() |
parameter
Angle Int Angle of image rotation in degrees. Rotation Counter Clock Wise.
Example:
{#Out(Rotate(LoadThumbnail(1,111,170),180),'/Thumbnails/over_*.jpg');}
Rotate90()
Rotate180() Rotate270() |
![]() |
![]() |
Operations without parameters. Particular cases of rotate.