Reference

Table of Contents  ▸  List of Commands  ▸  Colors  ▸  rgb2cmyk◀  rgb2cmy    |    rgb2hcy  ▶

rgb2cmyk

No arguments

Description:

Convert color representation of selected images from RGB to CMYK.

Examples of use:

• Example #1

$ gmic image.jpg rgb2cmyk split c

Command: image.jpg rgb2cmyk split c
Command: image.jpg rgb2cmyk split c
Command: image.jpg rgb2cmyk split c
Command: image.jpg rgb2cmyk split c

• Example #2

$ gmic image.jpg rgb2cmyk split c fill[3] 0 append c cmyk2rgb

Command: image.jpg rgb2cmyk split c fill[3] 0 append c cmyk2rgb