Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
lab_gamut.c File Reference
#include <edgepaint/lab_gamut.h>
#include <stddef.h>
Include dependency graph for lab_gamut.c:

Go to the source code of this file.

Variables

const signed char lab_gamut_data []
 
const size_t lab_gamut_data_size = sizeof(lab_gamut_data) / sizeof(signed char)
 

Variable Documentation

◆ lab_gamut_data

const signed char lab_gamut_data[]

lookup table for the visible spectrum of the CIELAB color space

This table is entries of 4-tuples of the form (L*, a*, b* lower bound, b* upper bound). A plain lookup table and/or the use of structs is avoided to save memory during compilation. Without this, MSVC ~2019 exhausts memory in CI.

More information about CIELAB: https://en.wikipedia.org/wiki/CIELAB_color_space

Definition at line 14 of file lab_gamut.c.

Referenced by lab_gamut().

◆ lab_gamut_data_size

const size_t lab_gamut_data_size = sizeof(lab_gamut_data) / sizeof(signed char)

Definition at line 10749 of file lab_gamut.c.

Referenced by lab_gamut().