Reference

Table of Contents  ▸  List of Commands  ▸  Colors  ▸  rgb2hsv◀  rgb2hsl8    |    rgb2hsv8  ▶

rgb2hsv

No arguments

Description:

Convert color representation of selected images from RGB to HSV.

Examples of use:

• Example #1

$ gmic image.jpg rgb2hsv split c

Command: image.jpg rgb2hsv split c
Command: image.jpg rgb2hsv split c
Command: image.jpg rgb2hsv split c

• Example #2

$ gmic image.jpg rgb2hsv +split c add[-2] 0.3 cut[-2] 0,1 append[-3--1] c hsv2rgb

Command: image.jpg rgb2hsv +split c add[-2] 0.3 cut[-2] 0,1 append[-3--1] c hsv2rgb
Command: image.jpg rgb2hsv +split c add[-2] 0.3 cut[-2] 0,1 append[-3--1] c hsv2rgb