Skip to content

Lower-third pack (.altarlt) ​

A .altarlt file carries one or more lower-third templates, with the images they use, from one computer to another. It's a ZIP file with a fixed layout. See Install a ready-made pack and Share templates as a pack for the steps.

Layout ​

manifest.json            Format, pack id, name, version and the list of templates
templates/<key>.json     One lower-third template per file
assets/<hash>.<ext>      Images (and imported artwork) the templates use (optional)
preview.png              Picture of the pack for a website (optional, not read by the app)

Altar Studio writes every file compressed, with a fixed date, so exporting the same templates again gives an identical file.

What's included ​

ContentIncluded as
TemplatesOne JSON file each under templates/, with their elements, fields, animation and saved field values
ImagesEvery picture a template uses: fixed images, the default image of each logo slot, and imported artwork. Named by the SHA-256 hash they had on the exporting computer.

Not included:

  • Fonts. A template whose font isn't on the other computer is drawn in a fallback font. The packs on the Altar Studio website use only fonts that come with the app.
  • Where an installed template came from. A template you export from another pack belongs to your new pack.

manifest.json ​

json
{
  "format": "altar-lowerthird-pack/1",
  "id": "altar.news-ribbon",
  "name": "News Ribbon",
  "version": "1.0.0",
  "author": "Altar Studio",
  "description": "Broadcast-style white bar with a folded colour ribbon, live clock and a sub line. Blue, orange and red.",
  "license": "Free to use and modify in any church or ministry production.",
  "templates": [
    { "key": "blue", "title": "News Ribbon · Blue", "file": "templates/blue.json" },
    { "key": "orange", "title": "News Ribbon · Orange", "file": "templates/orange.json" },
    { "key": "red", "title": "News Ribbon · Red", "file": "templates/red.json" }
  ]
}
FieldRequiredDescription
formatYesaltar-lowerthird-pack/1
idYesThe pack's ID, for example altar.news-ribbon. With each template's key, it names the installed templates.
nameYesShown in the import confirmation and under each installed template's title
versionNoDotted version number, for example 1.2.0. 1.0.0 if missing.
authorNoShown in the import confirmation
descriptionNo
licenseNoNot read by the app
homepageNoNot read by the app
previewNoPath of the preview picture inside the ZIP, preview.png
createdAtNoWhen the pack was exported
templatesYes[{key, title, file}], one entry per template

In templates:

FieldDescription
keyThe template's ID inside the pack. Keep it the same from one version to the next.
titleThe template's name in the library
filePath of the template file inside the ZIP, templates/<key>.json

Template files ​

json
{
  "key": "blue",
  "title": "News Ribbon · Blue",
  "data": {
    "source": "native",
    "anchor": "canvas",
    "animation": { "in": "slide", "out": "fade", "durationMs": 450 },
    "fields": [
      { "key": "headline", "label": "Headline", "value": "Welcome Home", "binding": "none" },
      { "key": "time", "label": "Time", "value": "", "binding": "clock.time" }
    ],
    "elements": [
      {
        "id": "main-bar-2", "type": "rect", "name": "Main bar",
        "x": 160, "y": 798, "w": 1300, "h": 160, "skew": 14,
        "gradient": { "type": "linear", "angle": 180, "stops": [{ "color": "#ffffff", "at": 0 }, { "color": "#f4f4f4", "at": 80 }, { "color": "#e2e2e2", "at": 100 }] },
        "shadow": { "color": "rgba(0,0,0,0.3)", "blur": 20, "x": 0, "y": 10 }
      },
      {
        "id": "headline-9", "type": "text", "name": "Headline",
        "x": 690, "y": 798, "w": 760, "h": 160, "text": "{{headline}}",
        "style": { "valign": "middle", "align": "left", "lineHeight": 1.05, "fontFamily": "Montserrat Variable", "fontWeight": 800, "fontSize": 74, "color": "#1c1c1c", "uppercase": true }
      }
    ]
  }
}

This is part of templates/blue.json from the News Ribbon pack. The real file has more fields and elements. The key and title in the manifest are used when both are present. data is the template itself:

FieldDescription
sourcenative (drawn from elements) or imported (imported PNG or video artwork)
elementsShapes, text and images, drawn in order, the last on top
fieldsThe values filled in when showing the lower third
animation{in, out, durationMs}. in and out are cut, fade or slide. Slide in and fade out over 450 ms if missing. Used when Use each design's own entrance and exit is off in Settings → Lower thirds, and always for imported artwork.
stilltrue for a template that never animates, even with lower-third animation on in Settings. Missing means it animates.
buildThe design's own build on and off, used when Use each design's own entrance and exit is on. See Builds. If missing, a design from one of the first seven packs builds its pack's way, and any other design uses the generic build: bars wipe on and badges pop.
anchorcanvas or camera. canvas if missing.
importedFor imported artwork: {assetHash, x, y, w, h, loop, end, key}
autoHideMsTime before it's taken off air, in milliseconds. 0 or missing leaves it up.
keepVisibletrue to keep it on air when another item goes live

Elements ​

Positions and sizes are in pixels on the 1920 × 1080 canvas.

FieldApplies toDescription
idAllUnique within the template. Required.
typeAllrect, text or image. Required.
x, y, w, hAllPosition and size. Required numbers.
nameAllLayer name in the editor
opacityAll0 to 1
fillShapes, imagesColour. Behind the picture on images.
radiusShapes, imagesCorner radius in pixels, all four corners
shapeShapes, imagesrect (default), ellipse or polygon
skewShapes, imagesSlant in degrees. Positive leans right.
pointsPolygonsCorners as [x, y] pairs, in percent of the element's box
cornersShapes, imagesRadius of each corner in pixels: [top-left, top-right, bottom-right, bottom-left]
cornerAspectShapes, imagesWidth ÷ height of the corner curves. Above 1 gives long sweeps.
gradientShapes{type, angle, stops}. Replaces fill. type is linear (default) or radial, angle is in degrees (90 = left to right), and each stop is {color, at} with at from 0 to 100.
strokeShapes, imagesOutline: {color, width}
shadowAllDrop shadow: {color, blur, x, y}
textureShapes, images{kind, color, opacity, scale}. kind is facets, stripes, gloss, curves or dots (halftone). White at 0.18 if not set.
textTextThe text. is replaced with that field's value.
styleTextFont family, size, weight, colour, alignment, line height, letter spacing, upper case, shadow and outline
assetHashImagesThe fixed picture: the hash of a file in assets/
fieldImagesKey of an image field. The field's picture is shown instead of the fixed one.
fitImagescontain (default) or cover
buildShapes, images{move, at}. move replaces the design's move for this element. at, from 0 to 1, is when it starts within the design's build, instead of by its place from left to right.

Fields ​

FieldDescription
keyUsed as in text and as field on image elements
labelShown next to the field when showing the lower third
valueThe default value. For an image field, the hash of a file in assets/, or empty.
typetext (default) or image
bindingnone, scripture.reference, scripture.text, item.title or clock.time. Text fields only.
adjustImage fields: how the image sits in its slot, set in the logo window. {src, zoom, x, y, fit, crop, rotate, flipX, flipY, opacity, color}. Missing means the image is fitted as it is.

A text element whose text is only a badge field, such as , isn't drawn while the template's logo field has an image.

Builds ​

build sets how a design's shapes build on. They build off the same way in reverse.

json
"build": { "bar": "wipe", "block": "slide", "round": "pop", "image": "pop", "from": "left", "spread": 260, "dur": 520, "ease": "out" }
FieldDescription
bar, block, round, imageThe move for long bars, other blocks, round badges and images
fromleft, right or center: the side shapes start building from
spreadMilliseconds between the first and the last shape starting
durMilliseconds each shape takes
easeout, back or snap

Moves: wipe, wipe-r, wipe-up, wipe-down, wipe-c, grow, grow-r, stretch, pop, spin, slide, slide-r, drop, rise, swing, flip, slam and fade.

Values are checked when the lower third plays: one that isn't valid falls back instead of breaking the animation. Versions of Altar Studio from before 0.2.11 ignore build and use the generic build.

Assets ​

Each file in assets/ is named by a hash that the templates refer to, plus its extension. On import, each file goes into the workspace's media store like any imported file. A file that's already there is reused. The templates are then pointed at the files' hashes on this computer.

The extension must be one the media store accepts, such as png, jpg, webp, gif, webm, mov or mp4.

IDs and importing again ​

An installed template's library ID is

ltpack:<pack id>:<template key>

For example, ltpack:altar.news-ribbon:blue. Importing a pack with the same id again therefore replaces its templates in place. It doesn't add copies:

  • Before anything changes, Altar Studio lists how many templates will be replaced, and says if the installed version is newer than the file.
  • The replaced templates lose any changes made in the editor and any field values saved to them.
  • A template you archived comes back.
  • Templates in the pack that aren't installed yet are added. Installed templates whose key is no longer in the pack are kept.
  • Presentations that use one of the templates as their lower-third style keep their copy and show Update.

Each installed template remembers its pack's id, name, version and its key.

Still versions of the website packs ​

Every pack on the Altar Studio website also comes as a still version, in a file named after the pack with -still, such as slant-blue-still.altarlt. The still pack:

  • has its own id, the animated pack's with -still added (for example altar.slant-blue-still), so it installs beside the animated pack instead of replacing it,
  • is named with "(still)", for example Slant Blue (still), and so are its templates (Slant Blue (still) · Name),
  • marks every template "still": true, and sets its animation in and out to cut, so versions of Altar Studio from before lower-third animation cut it in and out too.

Exporting ​

Export pack… writes:

FieldValue
iduser. and the pack name in lower case, with punctuation removed and spaces as hyphens, for example user.my-lower-thirds
name, author, versionFrom the export dialog. An empty name becomes "Lower thirds", an empty version 1.0.0.
createdAtThe time of export
Template keyThe template's key from its original pack, or else its title in the same form. A repeated key gets -2, -3 and so on.
File nameThe pack name in the same form, with .altarlt

Because the id comes from the pack name, exporting again under the same name makes a file that updates the earlier one when imported. The desktop app writes only files ending in .altarlt, of up to 200 MB.

Validation on import ​

Altar Studio reads the whole pack before it changes anything. Any of these stops the import with "Could not import the pack — nothing was changed" and the reason:

RuleMessage
Must be a ZIP file"This is not a lower-third pack (.altarlt is a ZIP file)"
manifest.json must exist"The pack has no manifest.json"
manifest.json must be valid JSON"manifest.json is not valid JSON"
format must start with altar-lowerthird-pack/"Unknown pack format"
Format version must be 1 or lower"This pack needs a newer version of Altar Studio"
id, name and templates must be present"The pack manifest is missing its id, name or templates"
Every template file must exist"Missing file"
A template must have elements and fields lists"file is not a lower-third template"
source must be native or imported"file: unknown source"
Each element needs an id and a type of rect, text or image"file: invalid element"
Each element's x, y, w and h must be numbers"file: element id has no x"
Each file in assets/ must have a supported extension"Unsupported file type: .ext"

Media files are added to the store before the templates are saved. If the import fails after that, those files stay in the store, unused and harmless. The templates are saved together in one step: either all of them are installed, or none.

Altar Studio by Milton Black. Free and open source.