Reference

Table of Contents  ▸  List of Commands  ▸  Colors  ▸  split_colors◀  solarize    |    split_opacity  ▶

split_colors

Arguments:

Description:

Split selected images as several image containing a single color.

One selected image can be split as at most max_nb_outputs images.
Output images are sorted by decreasing area of extracted color regions and have an additional alpha-channel.

Default values:

tolerance=0, max_nb_outputs=256 and min_area=8.

Example of use:

$ gmic image.jpg quantize 5 +split_colors , display_rgba

Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba