Customize Template
To create custom templates, you can start by copying an existing template folder. We highly recommend keeping the bundled templates and customizing your own copies with different names.
For instance, the default template files with comments can be found in [Documents>PhotoAlign>CanvasTemplate>Orthodontic Basic Photo].
Every template folders should be within the [CanvasTemplate] folder with different folder names.
Each template folder should contain [canvas.xml], [info.ini], and [thumbnail.png] files.
Additionally, files like [thumbnail_left.png] for canvas placeholders can be optionally included.
info.ini
The [info.ini] file contains essential template information and is structured as key=value pairs.
Here's what each key represents:
title: Title of the template, which will be displayed in the template list.
description: A brief description of the template, also displayed in the template list.
author: The author of the template, visible in the template list.
version: The version of the template. This will be displayed in the template list.
If you append a dot (.) and specify a language name to each key (e.g., title.korean), it will override the default language when that language is selected.
For example, title.korean will replace title if the language is selected as Korean.
canvas.xml
The [canvas.xml] file provides complete layout information for the template.
The structure is intuitive, and all numeric values are relative.
For example, value1="1" and value2="2" are the same with value1="200" and value2="400". The 'Left' and 'Top' properties are based in the upper-left corner as the origin.
The basic structure is like the below:
The attributes enclosed with [] are optional.
Example canvas positions and corresponding code
An example of relative units. Top, Left, Width, and Height measurements are relative to each other. Every coordinate's reference origin is top-left point (0,0).
Appointment names
The following appointment names are currently available for use with the AI automatic placement feature.
io_frontal, io_right, io_left, io_maxilla, io_mandible.
facial_right, facial_right_oblique.
facial_left, facial_left_oblique.
facial_frontal, facial_smile.
x_ceph, x_pa, x_pano, x_hw.
thumbnail.png
A 2:1 (width:height) ratio .png image file for showing the layout preview.
It may contain transparent color.
If you are a registered user, you can also request our assistance in creating a custom template according to your license plan.