XML example
The following sample XML code illustrates the frame lines system . It
describes frame lines for a 2.35 centered aspect ratio inside the
camera's 1.78 recorded image.
<?xml version="1.0" encoding="UTF-8"?>
<!-- NOTES:
All widths are in pixels.
All colors can be one of: black, white, or user.
If you select user, the color can be changed through
the user interface.
You can add as many lines as you like. Lines are
defined by giving 3 distances from the border.
So if you specify top, left and right it will
be a horizontal line with the given distance
from left, right and from the top.
The values are in the range [0, 1], where:
0 is at the edge
1 is on the opposite edge
So specifing 0.4 from left is the same as 0.6 from right.
-->
<framelines>
<!-- The description of the camera, this will
only be used for selecting the correct files.
So the user can only select glasses for his
camera/current setup. -->
<camera>
<type>Alexa EV</type>
<sensor>3K</sensor>
<aspect>1.78</aspect>
<hres>2880</hres>
<vres>1620</vres>
</camera>
<!--user color line at top and bottom of 2.35 aspect-->
<line>
<left>0</left>
<top>0.12174</top>
<right>0</right>
<width>4</width>
<color>user</color>
</line>
<line>
<left>0</left>
<bottom>0.12174</bottom>
<right>0</right>
<width>4</width>
<color>user</color>
</line>
<!-- Center cross horizontal lines, user color -->
<line>
<left>0.46355</left>
<top>0.5</top>
<right>0.50868</right>
<width>4</width>
<color>user</color>
</line>
<line>
<left>0.50868</left>
<top>0.5</top>
<right>0.46335</right>
<width>4</width>
<color>user</color>
</line>
<!-- Center cross vertical lines, user color -->
<line>
<left>0.5</left>
<top>0.43519</top>
<bottom>0.51543</bottom>