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: 3.6.2        Current pre-release: 3.6.3 (2025/10/08)

Reference
Table of Contents  ▸  List of Commands  ▸  Flow Control  ▸  local◀  if    |    noarg  ▶

local

Built-in command

No arguments

Description:

Start a local...[onfail]...done block, with selected images.

(equivalent to shortcut command l).

This command has a tutorial page.

Examples of use:

• Example #1

<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> local[] 300,300,1,3 rand[0] 0,255 blur 4 sharpen 1000 done

Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> local[] 300,300,1,3 rand[0] 0,255 blur 4 sharpen 1000 done
Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> local[] 300,300,1,3 rand[0] 0,255 blur 4 sharpen 1000 done

• Example #2

<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +local repeat 3 { deform 20 } done

Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +local repeat 3 { deform 20 } done
Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +local repeat 3 { deform 20 } done
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.