AutoMovie API
    Preparing search index...

    Interface IAutoMovieCaptureLayout

    How a capture's stills are laid out on contact sheets, derived from the reader budget and the stills' raster by planAutoMovieCaptureLayout.

    Every sheet holds at most perSheet cells in columns columns, each cell with its caption strip under it, so it is at most columns × cell.width by rows × (cell.height + caption) pixels; the last sheet is cut to the cells it holds.

    interface IAutoMovieCaptureLayout {
        caption: number;
        cell: { height: number; width: number };
        columns: number;
        lines: number;
        perSheet: number;
        reduction: "area" | "nearest";
        rows: number;
        sheets: number;
    }
    Index
    caption: number

    Height in pixels of the caption strip under each cell, outside the picture, as AutoMovieRasterSheet.caption gives it for the cell's height and lines.

    cell: { height: number; width: number }

    Size of one cell in pixels, the still's proportions.

    Type Declaration

    • height: number

      Cell height in output pixels, excluding its caption strip.

    • width: number

      Cell width in output pixels, preserving the source aspect to integer rounding.

    columns: number

    Cells per row.

    lines: number

    Lines of caption the strip holds: as many as the longest caption a cell may carry wraps to at the cell's width.

    perSheet: number

    Cells on every sheet but the last.

    reduction: "area" | "nearest"

    How a still is reduced into its cell.

    rows: number

    Rows of a full sheet.

    sheets: number

    Number of sheets.