#Color


Black
C
i
0
Blue
C
i
255
Cyan
C
i
65535
DarkBlue
C
i
128
DarkCyan
C
i
32896
DarkGray
C
i
4210752
DarkGreen
C
i
32768
DarkMagenta
C
i
8388736
DarkOrange
C
i
8404992
DarkPurple
C
i
8388672
DarkRed
C
i
8388608
DarkRoyal
C
i
16512
DarkViolet
C
i
4194432
DarkYellow
C
i
8421376
Default
C
i
-1
Gray
C
i
8421504
Green
C
i
65280
LightGray
C
i
12632256
Magenta
C
i
16711935
Orange
C
i
16744448
Pink
C
i
16744703
Purple
C
i
16711808
Red
C
i
16711680
Royal
C
i
33023
SoftBlue
C
i
8421631
SoftCyan
C
i
8454143
SoftGreen
C
i
8454016
SoftMagenta
C
i
16744703
SoftOrange
C
i
16760960
SoftPurple
C
i
16744640
SoftRed
C
i
16744576
SoftRoyal
C
i
8438015
SoftViolet
C
i
12615935
SoftYellow
C
i
16777088
Transparent
C
i
-16777216
Violet
C
i
8388863
White
C
i
16777215
Yellow
C
i
16776960
Blend
M
i
(Source)i(Destination)i[(Opacity)f]
Contrast
M
f
(Color1)i(Color2)i
Darker
M
i
(Color)i
Desaturate
M
i
(Color)i
Distance
M
f
(Color1)i(Color2)i
GetAlpha
M
i
(Color)i
Gradient
M
i
(Color1)i(Color2)i[(Weight)f]
HSV
M
i
(Hue)i(Saturation)i(Value)i[(Alpha)i]
Invert
M
i
(Color)i[(KeepHue)b]
Lighter
M
i
(Color)i
Merge
M
i
(Color1)i(Color2)i[(Weight)f]
Opacity
M
i
(Color)i(Opacity)f
RGB
M
i
(Red)i(Green)i(Blue)i[(Alpha)i]
SetAlpha
M
i
(Color)i(Alpha)i
SetHSV
M
i
(Color)i[(Hue)i(Saturation)i(Value)i(Alpha)i]
SetRGB
M
i
(Color)i[(Red)i(Green)i(Blue)i(Alpha)i]
ToHTML
M
s
(Color)i
_call
M
i
(Red)i(Green)i(Blue)i[(Alpha)i]
_get
M
ColorInfo
(Color)i
#ColorInfo


Alpha
p
i

Blue
p
i

Color
p
i

Green
p
i

Hue
p
i

Luminance
p
i

Red
p
i

Saturation
p
i

Value
p
i

#Image

C
Premultiplied
C
i
1
Standard
C
i
0
Debug
P
b

BeginBalance
m
Image

Brightness
m
Image
(Brightness)f
Clear
m


Colorize
m
Image
(Color)i
Contrast
m
Image
(Contrast)f
Copy
m
Image
[(X)i(Y)i(Width)i(Height)i]
Desaturate
m
Image

DrawAlpha
m
Image
(Image)Image;[(X)i(Y)i(SrcX)i(SrcY)i(SrcWidth)i(SrcHeight)i]
DrawImage
m
Image
(Image)Image;[(X)i(Y)i(Width)i(Height)i(SrcX)i(SrcY)i(SrcWidth)i(SrcHeight)i]
EndBalance
m
Image

Equals
m
b
(Image)Image;
Erase
m
Image
[(Color)i]
Fill
m
Image
(Color)i
FillRect
m
Image
(X)i(Y)i(Width)i(Height)i(Color)i
Fuzzy
m
Image
[(Radius)i]
Gamma
m
Image
(Gamma)f
Gray
m
Image

Hue
m
Image
(Hue)f
Invert
m
Image
[(KeepHue)b]
Lightness
m
Image
(Lightness)f
Mask
m
Image
(Color)i
Mirror
m
Image
(Horizontal)b(Vertical)b
Opacity
m
Image
(Opacity)f
PaintImage
m
Image
(Image)Image;[(X)i(Y)i(Width)i(Height)i(SrcX)i(SrcY)i(SrcWidth)i(SrcHeight)i]
PaintRect
m
Image
(X)i(Y)i(Width)i(Height)i(Color)i
Replace
m
Image
(OldColor)i(NewColor)i[(NotEqual)b]
Resize
m
Image
(Width)i(Height)i
RotateLeft
m
Image

RotateRight
m
Image

Saturation
m
Image
(Saturation)f
Transparent
m
Image
[(Color)i]
_free
m


_get
m
i
(X)i(Y)i
_new
m

[(Width)i(Height)i(Color)i(Format)i]
_put
m

(Color)i(X)i(Y)i
Format
p
s

Pixels
p
Integer[]

Data
r
p

Depth
r
i

H
r
i

Height
r
i

W
r
i

Width
r
i

#ImageStat


_call
M
ImageStat
(Path)s
_free
m


Depth
r
i

Height
r
i

Path
r
s

Type
r
s

Width
r
i

