HP DreamColor Z31x User Guide - Page 82

Using the StudioCal XML schema, File name and disk format, Declaration, Comments, Root element

Page 82 highlights

4 Using the StudioCal XML schema StudioCal XML is an HP-designed XML schema that provides detailed control over the display calibration process. It contains elements and tags that allow you to specify calibration targets for up to three calibration presets, provide custom preset names, and define validation patterns to be measured. It also is used to upload and download calibration LUTs, install custom input names, markers, and user presets, and upload and download the entire display configuration. TIP: A collection of StudioCal XML files is provided on the optical disc included with the display. They can also be downloaded from www.hp.com. These files can be used directly on the display or as learning tools. File name and disk format When a USB drive is inserted into one of the DreamColor USB ports, the display looks for a file named StudioCal.xml, which it uses for calibration. IMPORTANT: The display does not look for any other XML files, so the naming must be exact. The file name is not case-sensitive. USB drives containing a StudioCal.xml file may be formatted using FAT16, FAT32, or NTFS. Declaration The standard XML declaration statement must be on the first line of the file. All standard encodings are supported, including UTF-8, UTF-16, ISO-8859-1, and so on. It should be structured as follows: Comments XML comments are supported and useful to indicate the procedures performed by the XML file. For example, a StudioCal XML file that calibrates the BT.709 color space preset might include the following comment line: Comments can be placed anywhere within the XML file. Root element All StudioCal commands must be enclosed in a root element. The final command in the XML file must be a closing tag for the root element. Therefore, the highest level of a StudioCal XML file is structured as follows: 72 Chapter 4 Using the StudioCal XML schema

  • 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

4
Using the StudioCal XML schema
StudioCal XML is an HP-designed XML schema that provides detailed control over the display calibration
process. It contains elements and tags that allow you to specify calibration targets for up to three calibration
presets, provide custom preset names, and
define
validation patterns to be measured. It also is used to
upload and download calibration LUTs, install custom input names, markers, and user presets, and upload
and download the entire display
configuration.
TIP:
A collection of StudioCal XML
files
is provided on the optical disc included with the display. They can
also be downloaded from www.hp.com. These
files
can be used directly on the display or as learning tools.
File name and disk format
When a USB drive is inserted into one of the DreamColor USB ports, the display looks for a
file
named
StudioCal.xml, which it uses for calibration.
IMPORTANT:
The display does not look for any other XML
files,
so the naming must be exact. The
file
name
is not case-sensitive.
USB drives containing a StudioCal.xml
file
may be formatted using FAT16, FAT32, or NTFS.
Declaration
The standard XML declaration statement must be on the
first
line of the
file.
All standard encodings are
supported, including UTF-8, UTF-16, ISO-8859-1, and so on. It should be structured as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
Comments
XML comments are supported and useful to indicate the procedures performed by the XML
file.
For example,
a StudioCal XML
file
that calibrates the BT.709 color space preset might include the following comment line:
<!--BT.709 calibration-->
Comments can be placed anywhere within the XML
file.
Root element
All StudioCal commands must be enclosed in a <studiocal> root element. The
final
command in the XML
file
must be a closing tag for the root element. Therefore, the highest level of a StudioCal XML
file
is structured as
follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
<studiocal>
</studiocal>
72
Chapter 4
Using the StudioCal XML schema