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

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 4.0.3 (2026/07/20)

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

thickpolyline

Arguments:

  • [coords],thickness>=0,_is_closed={ 0:No, 1:Yes },opacity,_pattern,_color1,...

Description:

Draw a thick polyline on selected images.

[coords] is the image of vertex coordinates (2D vector-valued pixels).
pattern is an hexadecimal number starting with 0x which can be omitted
even if a color is specified. If a pattern is specified, the thickness is assumed to be 0.

Default values:

thickness=1, is_closed=0, opacity=1, pattern=(undefined) and color1=0.

Example of use:

1024,1024,1,3 10,1,1,2 repeat 10 { rand. 0,1023 thickpolyline.. .,18,0,0.5,${-RGB} } rm. rs 50%

Command: 1024,1024,1,3 10,1,1,2 repeat 10 { rand. 0,1023 thickpolyline.. .,18,0,0.5,${-RGB} } rm. rs 50%
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.