G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.4.3 (2024/10/11)

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

image.jpg grid 10%,10%,0,0,0.5,255

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

• Example #2

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
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.