Reference

Table of Contents  ▸  List of Commands  ▸  Image Drawing  ▸  image◀  grid    |    line  ▶

image

Built-in command

Arguments:

Description:

Draw specified sprite image on selected images.

(equivalent to shortcut command j).


If one of the x,y,z or c argument ends with a ~, its value is expected to be
a centering ratio (in [0,1]) rather than a position.
Usual centering ratio are { 0=left-justified | 0.5=centered | 1=right-justified }.

Default values:

x=y=z=c=0, opacity=1, opacity_mask=(undefined) and max_opacity_mask=1.

Example of use:

$ gmic image.jpg +crop 40%,40%,60%,60% resize[-1] 200%,200%,1,3,5 frame[-1] 2,2,0 image[0] [-1],30%,30% keep[0]
Command: image.jpg +crop 40%,40%,60%,60% resize[-1] 200%,200%,1,3,5 frame[-1] 2,2,0 image[0] [-1],30%,30% keep[0]