Reference

Table of Contents  ▸  List of Commands  ▸  Input / Output  ▸  store◀  srand    |    testimage2d  ▶

store

Built-in command

Arguments:

Description:

Store selected images into one or several named variables.

Selected images are transferred to the variables, and are so removed from the image list.
(except if the prepended variant of the command +store[selection] is used).
If a single variable name is specified, all images of the selection are assigned
to the named variable. Otherwise, there must be as many variable names as images
in the selection, and each selected image is assigned to each specified named variable.
Use command input $variable to bring the stored images back in the list.

Default values:

is_compressed=0.

Example of use:

$ gmic sample eagle,earth store img1,img2 input $img2 $img1
Command: sample eagle,earth store img1,img2 input $img2 $img1
Command: sample eagle,earth store img1,img2 input $img2 $img1