Compatibility Architecture & Inventory Scope

Dual-Pipeline

Stamp Album Generator 2 maintains a verified command inventory derived from the official AlbumEasy specification. Rather than relying on external command-line tools to render albums, our built-in native bounded interpreter translates AlbumEasy syntax directly into the native vector PDF engine. This is a Work in Progress and not completely integrated yet, so some commands may still require external handling occasionally, especially newer ones, for now, but we are improving support steadily overall.

92 Documented Names

The inventory tracks 92 canonical command names across 7 functional families, including 9 explicitly obsolete forms preserved for backward import compatibility.

104 Spellings with Aliases

Target Reference: 4.5.0

Primary compatibility targets installed AlbumEasy 4.5.0, with 4.2.1 retained as a legacy baseline. Conformance is verified against frozen visual fixtures.

Gold Standard Baseline

Zero External Dependencies

Existing .txt album files are rendered completely inside Stamp Album Generator 2 without launching any third-party executables.

Built-in Interpreter
Looking for Native Commands? For the program's native, human-readable format featuring sub-millimeter mounting clearances, AFM font metrics, and centered row alignment, consult the Native PDF Engine & Command Reference.

Implementation Status Legend

Classification
Status Badge Meaning Implementation Scope
Mapped & Verified Active in the native bounded interpreter Parsed, validated, and natively rendered into vector PDF output with test fixture coverage.
In Progress / Bounded Partially implemented / bounded slice Supported in specific scenarios (e.g. rectangular shapes, single snapshots) with expansion underway.
Planned / Backlog Documented in inventory Cataloged with verified syntax; scheduled for subsequent native implementation slices.
Obsolete (Import Only) Historical predecessor syntax Recognized during external album import to prevent data loss; mapped to modern equivalents.

1. Album Settings & Metadata (22 Names)

Document Scope
Command Name Parameters & Documented Behavior Native Status
ALBUM_PAGES_SIZE Width, height in mm; required page geometry (Letter, A4, custom). Mapped & Verified
ALBUM_PAGES_MARGINS Left, right, top, bottom margins in mm; defines printable boundary. Mapped & Verified
ALBUM_PAGES_MARGINSE Alternate margins for even pages (binding offset). In Progress
ALBUM_PAGES_SPACING Default horizontal inset and vertical element spacing in mm. Mapped & Verified
ALBUM_PAGES_TITLE Font, point size, title text; repeated page title banner. Mapped & Verified
ALBUM_PAGES_BORDER Line widths and separation; accepts 3-argument and 4-argument forms. Mapped & Verified
ALBUM_PAGES_DECORATIVE_BORDER Border definition filename; separate asset resolution rules. Planned
ALBUM_PAGES_HEADER Font, size, position (L, C, R, LR, RL), header text. Mapped & Verified
ALBUM_PAGES_HEADER_NUMBER Independent header page numbering controls and prefix/suffix. Planned
ALBUM_PAGES_HEADER_DATE Header generation date with format tokens (YMD, DMY, MDY). Planned
ALBUM_PAGES_FOOTER Font, size, position, custom footer text. Mapped & Verified
ALBUM_PAGES_FOOTER_NUMBER Positioned page numbering with dynamic $PAGES$ total count resolution. Mapped & Verified
ALBUM_PAGES_FOOTER_DATE Footer generation date and formatting controls. Planned
ALBUM_PAGES_HEADER_PAD Album-wide header distance from inner border line. Planned
ALBUM_PAGES_FOOTER_PAD Album-wide footer distance from inner border line. In Progress
ALBUM_AUTHOR PDF document author metadata; not printed on page canvas. Planned
ALBUM_TITLE PDF document title metadata; distinct from visible headings. Planned
ALBUM_STAMP_NEW_IMG_SETTING Horizontal/vertical image padding in mm and stretch flag. Mapped & Verified
ALBUM_PAGES_BORDER3 Obsolete four-argument border spelling; retained for import. Obsolete (Import Only)
ALBUM_PAGES_NUMBER Obsolete footer-number predecessor spelling. Obsolete (Import Only)
ALBUM_PAGES_DATE Obsolete footer-date predecessor spelling. Obsolete (Import Only)
ALBUM_STAMP_IMG_SETTING Obsolete legacy image padding using 0.35 mm units. Obsolete (Import Only)

2. Page Commands (18 Names)

Layout & Flow
Command Name Parameters & Documented Behavior Native Status
PAGE_START Initiates a fresh album page; resolves odd/even margins and titles. Mapped & Verified
PAGE_START_VAR Page-specific spacing; argument ordering resolved in #104. Mapped & Verified
PAGE_COLUMN_START Enters two-column layout mode with optional inter-column gutter. Planned
PAGE_COLUMN_NEXT Moves drawing cursor to the top of the second column. Planned
PAGE_COLUMN_STOP Leaves two-column mode and restores full-width page flow. Planned
PAGE_TEXT Font, size, left-aligned text; optional trailing vertical space. Mapped & Verified
PAGE_TEXT_CENTRE Centered text with AFM font metric bounding; handles line breaks. Mapped & Verified
PAGE_TEXT_RIGHT Right-aligned text with optional trailing vertical space. In Progress
PAGE_TEXT_PARAGRAPH_START Begins raw multi-line paragraph text with alignment and side padding. In Progress
PAGE_TEXT_PARAGRAPH_END Terminates multi-line paragraph mode. In Progress
PAGE_RULE_H Horizontal divider rule; thickness, preceding space, and margin insets. In Progress
PAGE_VSPACE Positive or negative cursor movement; participates in page packing. Mapped & Verified
PAGE_START_GROUP_BEGIN Defines repeated macro block preceding pages with $$1..$$9 placeholders. Planned
PAGE_START_GROUP_END Ends repeated macro block definition. Planned
PAGE_BACKGROUND_IMG Full-page background watermark/image with scaling and offsets. Planned
PAGE_TEXT_VSPACE Obsolete left-aligned text with explicit vertical space. Obsolete (Import Only)
PAGE_TEXT_CENTRE_VSPACE Obsolete centered text with explicit vertical space. Obsolete (Import Only)
PAGE_TEXT_RIGHT_VSPACE Obsolete right-aligned text with explicit vertical space. Obsolete (Import Only)

3. Row Layout Commands (6 Names)

Row Geometry
Command Name Parameters & Documented Behavior Native Status
ROW_START_ES Equal spacing row start; mapped to native centered row alignment. Mapped & Verified
ROW_START_JS Justified spacing: outside frames touch margin bounds, inner gaps equal. In Progress
ROW_START_FS Fixed spacing: explicit inter-stamp gap; row is centered. Mapped & Verified
ROW_ALIGN_TOP Persistent top alignment across stamps in the row (default). Mapped & Verified
ROW_ALIGN_MIDDLE Persistent vertical middle alignment across stamps of varying height. Mapped & Verified
ROW_ALIGN_BOTTOM Persistent bottom baseline alignment across stamps. Mapped & Verified

4. Stamp Commands & Shapes (20 Names)

Frames & Captions
Command Name Parameters & Documented Behavior Native Status
STAMP_ADD Rectangular stamp frame; width, height, inside text, and captions. Mapped & Verified
STAMP_ADD_DIAMOND Diamond stamp frame; diagonal dimension geometry. Planned
STAMP_ADD_OVAL Oval stamp frame; equal dimensions produce a circular frame. Planned
STAMP_ADD_TRIANGLE Upright triangular stamp frame; optional flattened apex. Planned
STAMP_ADD_TRIANGLE_INV Inverted triangular stamp frame; optional flattened apex. Planned
STAMP_ADD_HEXAGON Hexagonal stamp frame; side-up (SU) or corner-up (CU) orientation. Planned
STAMP_ADD_OCTAGON Octagonal stamp frame; SU or CU orientation. Planned
STAMP_ADD_BLANK Consumes row reservation without drawing a frame or text. In Progress
STAMP_ADD_IMG Image stamp; width, height, image asset, captions, and NO_FRAME. Mapped & Verified
STAMP_HEADING Attaches heading text to preceding stamp with optional offset. Mapped & Verified
STAMP_HEADING_VA Vertically aligned heading across an entire row of stamps. Mapped & Verified
STAMP_HEADING_PADDING Persistent heading-to-box clearance adjustment. In Progress
STAMP_INNER_BORDER Secondary inner border; padding and line thickness. Mapped & Verified
STAMP_BORDER_STYLE Outer line style: SOLID, DOTTED, DASHED, DOT_DASH, BLANK, CORNER, SIDES. Mapped & Verified
STAMP_INNER_BORDER_STYLE Inner line style with independent style and color state. Mapped & Verified
STAMP_BOXES_SIZE_ADJUST Adds signed adjustment to stamp mounting frame dimensions. Mapped & Verified
STAMP_BOXES_ADJUST_SAVE Saves current size adjustment state into snapshot. Mapped & Verified
STAMP_BOXES_ADJUST_RESTORE Restores previous size adjustment state snapshot. Mapped & Verified
STAMP_ADDX Obsolete six-caption rectangular stamp frame syntax. Obsolete (Import Only)
STAMP_ADDX_IMG Obsolete image stamp with multi-row caption fields. Obsolete (Import Only)

5. Fonts & Text Metrics (3 Names)

Typography
Command Name Parameters & Documented Behavior Native Status
ALBUM_DEFINE_FONT Registers TrueType font file to custom identifier (2–12 chars). In Progress
TEXT_CHAR_SPACING Signed letter tracking in mm across ordinary page text. Planned
TEXT_LINE_LEADING Signed line leading adjustment in mm between text lines. Planned

6. Colour Commands (12 Canonical + 12 COLOR_ Aliases)

All Color Aliases Supported

Every COLOUR_ command accepts named colors and $RRGGBB hex values. All 12 commands are supported with identical behavior under their COLOR_ spelling alias:

Canonical Command (COLOUR_) Accepted Alias (COLOR_) Target Scope Native Status
COLOUR_ALBUM_BORDER COLOR_ALBUM_BORDER Album-wide outer/inner border lines Mapped & Verified
COLOUR_ALBUM_DECORATIVE_BORDER COLOR_ALBUM_DECORATIVE_BORDER Decorative border lines Planned
COLOUR_ALBUM_FOOTER COLOR_ALBUM_FOOTER Album-wide footer text Mapped & Verified
COLOUR_ALBUM_HEADER COLOR_ALBUM_HEADER Album-wide header text Mapped & Verified
COLOUR_ALBUM_TITLE COLOR_ALBUM_TITLE Album-wide title text Mapped & Verified
COLOUR_PAGE_RULE_H COLOR_PAGE_RULE_H Subsequent horizontal divider lines In Progress
COLOUR_PAGE_TEXT COLOR_PAGE_TEXT Subsequent ordinary page text Mapped & Verified
COLOUR_STAMP_BORDER COLOR_STAMP_BORDER Stamp outer mounting frame stroke Mapped & Verified
COLOUR_STAMP_INNER_BORDER COLOR_STAMP_INNER_BORDER Stamp inner decorative border stroke Mapped & Verified
COLOUR_STAMP_BACKGROUND COLOR_STAMP_BACKGROUND Stamp frame background fill (beneath images) Mapped & Verified
COLOUR_STAMP_HEADING COLOR_STAMP_HEADING Stamp heading text Mapped & Verified
COLOUR_STAMP_TEXT COLOR_STAMP_TEXT Inside and below-stamp caption text Mapped & Verified

7. Decorative-Border Definition Language (11 Names)

Separate Parser

These 11 commands belong to the separate decorative-border file syntax loaded by ALBUM_PAGES_DECORATIVE_BORDER:

Command Parameters & Purpose Native Status
IMAGE_SCALECorner ornament scale factorPlanned
IMAGE_CORNERTop-left corner source image assetPlanned
IMAGE_CORNER_PADHorizontal and vertical corner displacementsPlanned
IMAGE_EDGE_LEFTLeft-edge repeating ornament assetPlanned
IMAGE_EDGE_RIGHTRight-edge repeating ornament assetPlanned
IMAGE_EDGE_TOPTop-edge repeating ornament assetPlanned
IMAGE_EDGE_BOTTOMBottom-edge repeating ornament assetPlanned
IMAGE_EDGE_PADEdge image offset displacementsPlanned
BORDER_LINESUp to three line widths and spacingPlanned
BORDER_PADInward/outward displacement from marginsPlanned
BORDER_END_OFFSETSShortens border lines to avoid corner imagesPlanned

Related Documentation & Resources

Native PDF Engine Reference

Explore the full canonical .stampalbum specification and native commands.

Configuration Guide

Learn how to configure default row alignments, paths, and layouts in config.toml.

Bundu Technology AlbumEasy

Visit the official home of the AlbumEasy program and its documentation.