Index of values

A
add [Mgk_cmd.Mgk]

adds pixel values

atop [Mgk_cmd.Mgk]
auto_level [Mgk_cmd.Mgk]

adjust color levels

B
base_layer [Mgk_cmd.Mgk]

no-op, just for esthetic use

blur [Mgk_cmd.Mgk]
C
charcoal [Mgk_cmd.Mgk]
clone [Mgk_cmd.Mgk]
clone_last [Mgk_cmd.Mgk]
clone_range [Mgk_cmd.Mgk]
color_burn [Mgk_cmd.Mgk]
color_dodge [Mgk_cmd.Mgk]
colors [Mgk_cmd.Mgk]

number of colors

composite [Mgk_cmd.Mgk]

composite operation

compositeop_of_string [Mgk_cmd.Mgk]

get a composite operator parameter from a string

convolve_sobel [Mgk_cmd.Mgk]

sobel convolution

copy_opacity [Mgk_cmd.Mgk]
D
darken [Mgk_cmd.Mgk]

takes the darker pixel value

difference [Mgk_cmd.Mgk]
display [Mgk_cmd.Mgk]

pipes the output to the display command

dissolve [Mgk_cmd.Mgk]
dither [Mgk_cmd.Mgk]

dither operation

dither_riemersma [Mgk_cmd.Mgk]

dither-method: "Riemersma"

divide_dst [Mgk_cmd.Mgk]
divide_src [Mgk_cmd.Mgk]
draw_cbcurve [Mgk_cmd.Mgk]

draw operation with a cubic bezier curve command

draw_circle [Mgk_cmd.Mgk]

draw operation with a circle command

draw_ellipse [Mgk_cmd.Mgk]

draw operation with a ellipse command

draw_line [Mgk_cmd.Mgk]

draw operation with a line command

draw_path [Mgk_cmd.Mgk]

draw path with svg commands

draw_point [Mgk_cmd.Mgk]

draw operation with a point command

draw_polygon [Mgk_cmd.Mgk]

draw operation with a rectangle command

draw_qbcurve [Mgk_cmd.Mgk]

draw operation with a quadratic bezier curve command

draw_rectangle [Mgk_cmd.Mgk]

draw operation with a rectangle command

draw_text [Mgk_cmd.Mgk]

draw operation with a text command

dst_atop [Mgk_cmd.Mgk]
dst_in [Mgk_cmd.Mgk]
dst_out [Mgk_cmd.Mgk]
dst_over [Mgk_cmd.Mgk]
E
edge [Mgk_cmd.Mgk]

edge filter

emboss [Mgk_cmd.Mgk]

emboss the image

F
flip [Mgk_cmd.Mgk]
flop [Mgk_cmd.Mgk]
G
grayscale [Mgk_cmd.Mgk]
H
hard_light [Mgk_cmd.Mgk]
I
init_canvas [Mgk_cmd.Mgk]

you can initialise a transparent image with: "canvas:none"

input_image [Mgk_cmd.Mgk]

filename of an image to load

L
lighten [Mgk_cmd.Mgk]

takes the lighter pixel value

linear_burn [Mgk_cmd.Mgk]
linear_dodge [Mgk_cmd.Mgk]
list_compose [Mgk_cmd.Mgk]

list all composite operators

M
minus_dst [Mgk_cmd.Mgk]
minus_src [Mgk_cmd.Mgk]
modulate [Mgk_cmd.Mgk]

modulate, with brightness, saturation, and hue parameters

monochrome [Mgk_cmd.Mgk]

binary colors

multiply [Mgk_cmd.Mgk]

multiplies the source image with the destination image

N
negate [Mgk_cmd.Mgk]
new_genesis [Mgk_cmd.Mgk]

initialise the command for a set of operations

new_genesis7 [Mgk_cmd.Mgk]

equivalent of new_genesis, but for IM-7 (not-tested)

normalize [Mgk_cmd.Mgk]
O
open_layer [Mgk_cmd.Mgk]

open a new layer

out [Mgk_cmd.Mgk]
over [Mgk_cmd.Mgk]

default operator, overlays the source image over the destination image

overlay [Mgk_cmd.Mgk]

combines Multiply and Screen

P
paint [Mgk_cmd.Mgk]

simulate painting

plus [Mgk_cmd.Mgk]
posterize [Mgk_cmd.Mgk]

posterize command

R
resize [Mgk_cmd.Mgk]

to resize half the size, use resize "50%" mgk

S
screen [Mgk_cmd.Mgk]

multiplies the inverse of the images and then inverses the result

seamless_blend [Mgk_cmd.Mgk]

more composite operators

set_composite_op [Mgk_cmd.Mgk]

select a composite operator

set_filename [Mgk_cmd.Mgk]

set the filename of the image containing the result

set_fill [Mgk_cmd.Mgk]

set the fill color for the draw operations

set_font [Mgk_cmd.Mgk]

set the font for the draw-text operation

set_geometry [Mgk_cmd.Mgk]

sets the position for the composition of a layer

set_pointsize [Mgk_cmd.Mgk]

set the size of the text in points

set_size [Mgk_cmd.Mgk]

set dimensions of an image, a canvas, or a layer

set_stroke [Mgk_cmd.Mgk]

set the stroke color for the draw operations

set_strokewidth [Mgk_cmd.Mgk]

set the stroke-width for the draw operations

shade [Mgk_cmd.Mgk]
sharpen [Mgk_cmd.Mgk]
soft_light [Mgk_cmd.Mgk]
src [Mgk_cmd.Mgk]
src_atop [Mgk_cmd.Mgk]
src_in [Mgk_cmd.Mgk]
src_out [Mgk_cmd.Mgk]
src_over [Mgk_cmd.Mgk]
subtract [Mgk_cmd.Mgk]

subtracts pixel values

W
write_command [Mgk_cmd.Mgk]

output the resulting command on stdout to produce the requested operations

X
xor [Mgk_cmd.Mgk]