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.5.5        Current pre-release: 3.6.0 (2025/08/04)

Reference
Table of Contents  ▸  List of Commands  ▸  Input / Output  ▸  shared◀  shape_star    |    sample  ▶

shared

Built-in command

Arguments:

  • x0[%],x1[%],y[%],z[%],c[%]    or
  • y0[%],y1[%],z[%],c[%]    or
  • z0[%],z1[%],c[%]    or
  • c0[%],c1[%]    or
  • c0[%]    or
  • (no arg)

Description:

Insert shared buffers from (opt. points/rows/planes/channels of) selected images.

Shared buffers cannot be returned by a command, nor a local environment.

(equivalent to shortcut command sh).

This command has a tutorial page.

Examples of use:

• Example #1

image.jpg shared 1 blur[-1] 3 remove[-1]

Command: image.jpg shared 1 blur[-1] 3 remove[-1]

• Example #2

image.jpg repeat s { shared 25%,75%,0,$> mirror[-1] x remove[-1] }

Command: image.jpg repeat s { shared 25%,75%,0,$> mirror[-1] x 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.