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.5.4 (2025/05/02)

Reference

Table of Contents  ▸  List of Commands  ▸  Image Drawing  ▸  thickpolygon◀  thickline    |    thickspline  ▶

thickpolygon

Arguments:

Description:

Draw specified colored thick outlined N-vertices polygon on selected images.

If thickness<0, the command draws an open polygon rather than a closed polygon.

Default values:

thickness=3, opacity=1, and color1=0.

Examples of use:

• Example #1

image.jpg thickpolygon 4,20%,20%,80%,30%,80%,70%,20%,80%,5,1,0,255,0

Command: image.jpg thickpolygon 4,20%,20%,80%,30%,80%,70%,20%,80%,5,1,0,255,0

• Example #2

image.jpg 2,16,1,1,'u(x?h#0:w#0)' thickpolygon[-2] [-1],5,1,255,0,255 remove[-1]

Command: image.jpg 2,16,1,1,'u(x?h#0:w#0)' thickpolygon[-2] [-1],5,1,255,0,255 remove[-1]
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.