Reference

Table of Contents  ▸  List of Commands  ▸  Input / Output  ▸  pass◀  parse_gui    |    plot  ▶

pass

Built-in command

Arguments:

Description:

Insert images from parent context of a custom command or a local environment.

Command selection (if any) stands for a selection of images in the parent context.
By default (adaptive shared state), selected images are inserted in a shared state if they do not belong
to the context (selection) of the current custom command or local environment as well.
Typical use of command pass concerns the design of custom commands that take images as arguments.
This commands return the list of corresponding indices in the status.

Default values:

shared_state=2.

Example of use:

$ gmic command "average : pass$""1 add[^-1] [-1] remove[-1] div 2" sample ? +mirror y +average[0] [1]

Command: command "average : pass$""1 add[^-1] [-1] remove[-1] div 2" sample ? +mirror y +average[0] [1]
Command: command "average : pass$""1 add[^-1] [-1] remove[-1] div 2" sample ? +mirror y +average[0] [1]
Command: command "average : pass$""1 add[^-1] [-1] remove[-1] div 2" sample ? +mirror y +average[0] [1]