Reference

Table of Contents  ▸  List of Commands  ▸  Arrays, Tiles and Frames  ▸  pack◀  map_sprites    |    puzzle  ▶

pack

Arguments:

Description:

Pack selected images into a single image.

The returned status contains the list of new (x,y) offsets for each input image.
Parameter is_ratio_constraint tells if the resulting image must tend to a square image.

Default values:

is_ratio_constraint=0 and sort_criterion=max(w,h).

Example of use:

$ gmic image.jpg repeat 10 +resize2dx[-1] 75% balance_gamma[-1] ${-rgb} done pack 0

Command: image.jpg repeat 10 +resize2dx[-1] 75% balance_gamma[-1] ${-rgb} done pack 0