Reference

Table of Contents  ▸  List of Commands  ▸  Colors  ▸  srgb2lab◀  split_opacity    |    srgb2lab8  ▶

srgb2lab

Arguments:

Description:

Convert color representation of selected images from sRGB to Lab.

Default values:

illuminant=2.

Examples of use:

• Example #1

$ gmic image.jpg srgb2lab split c
Command: image.jpg srgb2lab split c
Command: image.jpg srgb2lab split c
Command: image.jpg srgb2lab split c

• Example #2

$ gmic image.jpg srgb2lab +split c mul[-2,-1] 2.5 append[-3--1] c lab2srgb
Command: image.jpg srgb2lab +split c mul[-2,-1] 2.5 append[-3--1] c lab2srgb
Command: image.jpg srgb2lab +split c mul[-2,-1] 2.5 append[-3--1] c lab2srgb