Define a canonical schema and metadata contract for TIFF outputs with tag-level
validation, strip-versus-tile storage safeguards, deterministic integrity
metadata, and workflow provenance suitable for high-fidelity source frames,
masks, and texture interchange.
ImageWidth, ImageLength, BitsPerSample, Compression,
PhotometricInterpretation, SamplesPerPixel, and SampleFormat tags are
mandatory for every TIFF output.
TIFF tagInventory values must be unique for every output package.
Striped TIFF outputs require StripOffsets, RowsPerStrip, and StripByteCounts;
tiled TIFF outputs require TileWidth, TileLength, TileOffsets, TileByteCounts,
and tileGeometry.
Alpha-bearing TIFF color models require an ExtraSamples tag.
JPEG-compressed TIFF outputs must use 8-bit unsigned samples.
CCITT Group 4 TIFF outputs must be 1-bit grayscale.
lab TIFF outputs must use colorSpace cielab.
Predictor metadata is only valid with lzw or deflate compression, and
floating-point predictor requires sampleFormat ieeefp.
Resolution metadata requires XResolution, YResolution, and ResolutionUnit
tags.
RegisterOutputRequest dimensions must match tiffPackage width and height when
both are supplied.
RegisterOutputRequest mimeType must be image/tiff and storage.key must end
with .tif or .tiff when tiffPackage is supplied.
TIFF manifest checksum uses sha256 and must preserve workflow/dependency
provenance linkage.
Output registry accepts first-class TIFF package metadata with strict
validation over tag inventory, strip-versus-tile storage, compression rules,
predictor rules, and manifest checksum fields.
Canonical TIFF contract enumerates the package classes and output classes that
legitimately emit TIFF artifacts under the shared output taxonomy.
TIFF manifest provenance preserves workflow-variant and dependency-manifest
linkage needed for deterministic downstream ingest of source frames and
texture maps.
Validator and schema tests catch invalid TIFF registrations and enforce the
canonical metadata surface.