Editor

The editor can be used for regular image editing and for the creation and editing of template images. Template images are used as overlays. They will be dynamically adapted when you select the template in the TX-window. While in edit mode, you can change all the attributes (such as size, position, colours etc ...). If you save the canvas as an image, the scene will be rendered (i.e. flattened) and become a single image object. If you save the cancvas as a template, all objects will be accessible again when loaded.

To create an object, click on the left menu to select the type of object (e.g circle) and then click on the canvas where you want the object positioned. Just click on an item to select it. A outline of the item will be shown by a dashed line. If you hoover over the object you will see the cursor change to a hand-icon (in the middle of the object) to move it, or to a resize-icon if you are on a border.

The attributes (line colour, fill colour, gradients etc ..) that are active in the top menu will be used to create the item. Object have also a z-component, i.e they can be in front our behind another object. This can be changed by right clicking on the item and use the Arrange selection.

editor

- Top menu 1
  - Image Size: Select the size of the image: the outline of the image will be shown on the canvas.
  - Font: drop down box where you can select the text font
  - Font size: text size
  - Bold : bold text
  - Italic: italic text
  - Underline: underlined text
  - Pen width: width of lines in number of pixels
- Top menu 2
  - Fill: Fill color drop down menu
  - Line: Line color drop down menu
  - Gradient: Gradient selection menu

- Left menu
  - select/deselect objects
  - create filled circle/ellips
  - create filled rectangle -
    create line -
    insert image -
    insert replay image placeholder. When the template will be loaded in the TX-window, this placeholder will replaced by the last received image -
    create text

- Bottom menu
  - Horizontal Shear: shear selected object horizonally
  - Rotate: rotate selected object
- Right menu
  - Vertical Shear: shear selected object vertically

If you right click on an object then the following popup menu will be shown:

- Arrange
  - Forward - one level forward
  - Backward - one level backward
  - Bring to Front - all the way to the front
  - Sent to Back - all the way to the back
- Change text - change the text of a text object
- Expand - object will expand horizontally and vertically to fill the complete canvas
- Delete - remove selected object from the canvas
- Lock - lock items so that they can not be moved or resized
- Unlock - unlock selected items

We need some sort of macro's to enable variable text when transmitting images. The editor uses predefined strings that will be replaced by the "actual content" when the template is processed just before transmission. Here's an example of the editor using macros and the result in the transmitter.

Following macro's are supported:
Macro's where the value is defined in the configuration

- %m - my callsign
- %q - my QTH
- %l - my locator
- %n - my last name
- %f - my first name

Macro's where the value is entered in the TX-window prior to transmission

- %c - call of the contacted station
- %r - RSV (radio-strength-video best is 595)
- %o - name of the operator of the contacted station
- %x - comment1
- %y - comment2
- %z - comment3

Macro's where the value is defined by the system

- %t - time in hours:minutes format
- %d - date in year/month/day format
- %v - qsstv_version