Reference

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

grid

Arguments:

Description:

Draw xy-grid on selected images.

pattern is an hexadecimal number starting with 0x which can be omitted
even if a color is specified.

Default values:

offset_x=offset_y=0, opacity=1, pattern=(undefined) and color1=0.

Examples of use:

• Example #1

$ gmic image.jpg grid 10%,10%,0,0,0.5,255
Command: image.jpg grid 10%,10%,0,0,0.5,255

• Example #2

$ gmic 400,400,1,3,255 grid 10%,10%,0,0,0.3,0xCCCCCCCC,128,32,16
Command: 400,400,1,3,255 grid 10%,10%,0,0,0.3,0xCCCCCCCC,128,32,16