summaryrefslogtreecommitdiff
path: root/doc/metadata-spec.txt
blob: ecd438dd9920c629d97140b5b5db80a234595609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
Copyright (C) 2010-2012 Richard Hughes <richard@hughsie.com>

= Introduction =

This document will explain the metadata keys used by GNOME Color Manager
and colord in the hope that other CMS solutions will hopefully
interoperate with this specification.

The specific metadata is usually added to the colord devices and
profiles for the CMS internal use, and to aid the automatic matching of
devices to profiles.

== Profile Metadata ==

These data values are not properties on the DBus interface, but are
loaded from the metadata table in the .icc file, and added to the colord
Profile.Metadata dictionary.

These keys are optional but recommended. Other keys may also be present,
and should be ignored.

License			A content license, e.g. "Public Domain" or "CC0"
Quality			A profile quality, where
			"low"		: Low quality profile, fast
			"medium"	: Medium quality profile
			"high"		: High quality profile, slow
STANDARD_space		A standard space, where
			"srgb"		: sRGB
			"adobe-rgb"	: AdobeRGB
			"prophoto-rgb"	: ProPhotoRGB
EDID_md5		The EDID MD5 checksum
EDID_model		The EDID monitor name
EDID_serial		The EDID serial number
EDID_mnft		The EDID PNP ID
EDID_manufacturer	The EDID vendor name
CMF_product		The color management framework name that
			generated this profile, e.g.
			"GNOME Color Manager"
CMF_binary		The color management framework binary that
			generated this profile, e.g. "gcm-calibrate"
CMF_version		The color management framework version that
			generated this profile, e.g. "3.1.1"
DATA_source		The data source of the profile, where:
			"edid"		: From a display EDID blob
			"calib"		: From a calibration
			"standard"	: From a standard, e.g. "sRGB"
			"test"		: For testing, e.g. "BGR"
MAPPING_format		The format used for matching, e.g.
			"ColorModel.OutputMode.OutputResolution"
MAPPING_qualifier	The qualifiers the profile should adopt by
			default, e.g. "RGB.Plain.300dpi"
MAPPING_device_id	The device this profile should be paired with,
			e.g. "cups-Photosmart-B109a-m"
ACCURACY_dE76_avg	The calibration delta-E average value
ACCURACY_dE76_max	The calibration delta-E maximum error value
ACCURACY_dE76_rms	The calibration delta-E RMS error value
MEASUREMENT_device	The device used to create the profile, e.g.
			"colormunki" or "huey"
SCREEN_surface		The screen panel surface type, ehere:
			"matte"		: Matte, textured surface
			"glossy"	: Glossy, shiny surface
SCREEN_brightness	The screen brightness as set during calibration
			as a percentage, e.g. "50"
CONNECTION_type		The connection type of the video output, where:
			"internal"	: Internal digital, e.g. LVDS
			"vga"		: Analogue VGA
			"dvi"		: Digital DVI
			"hdmi"		: Digital HDMI
			"displayport"	: Digital DisplayPort
GAMUT_volume		The volume of the gamut, (scaled to sRGB = 1.0)
			expressed as a positive floating point value.
GAMUT_coverage($x)	The coverage of the gamut compared to a standard
			gamut, given as $x. The values in $x can be any
			of the standard spaces allowed in STANDARD_space
			for example "adobe-rgb".
			This is expressed as a positive floating point
			value where 0.0 is none, and 1.0 is full coverage.

== Virtual Profile Metadata ==

Virtual metadata are values that are never loaded from the .icc file,
but are visible in the Profile.Metadata dictionary.

FILE_checksum		The FILE checksum, for use when the ICC header
			checksum is not available.
			This is set by the session process as a hint to
			reduce the amount of I/O at startup for a large
			numbers of legacy profiles when using file
			descriptor passing. It's also optional.

== Virtual Device Metadata ==

These data values are not properties on the DBus interface, but are
added to the colord Device.Metadata dictionary.

XRANDR_name		The XRandR name, e.g. "lvds1". This is added by
			and used by the session client interfacing with
			the display.
OutputPriority		The display output priority, either 'primary' or
			'secondary'. The primary output is defined as the
			screen where the taskbar or application menu is
			located.
OutputEdidMd5		The EDID MD5 checksum of the display device
OwnerCmdline		The command line of the binary that created the device
			but not set for devices created by colord itself.

== Sensor Metadata ==

These data values are not properties on the DBus interface, but are
added to the colord Sensor.Metadata dictionary.

ImageAttach		The image SVG filename used to illustrate
			the device attached to the screen.
ImageCalibrate		The image SVG filename used to illustrate
			the device in calibrate mode.
ImageScreen		The image SVG filename used to illustrate
			the device in screen mode.