Skip to content

BIF code debt: consolidate bifwriter Phase-0 spike writers into WritePyramid #15

Description

@cornish

internal/tiff/bifwriter still contains the Phase-0 spike writers WriteSingleLevel and WriteSpecShaped (single-level), which predate and overlap the real multi-level WritePyramid used by convert --to bif. They remain only because some tests reference them.

Goal: consolidate to WritePyramid; delete/retire WriteSingleLevel/WriteSpecShaped and migrate their tests to WritePyramid (or the reader-independent TILE_OFFSETS placement check). Reduces surface and the risk of the two tag-list copies drifting.

Part of the BIF writer parity set (bringing convert --to bif to parity with the other write targets). Context: internal/tiff/bifwriter + cmd/wsitools/convert_bif.go; cleanup backlog in docs/superpowers/specs/2026-06-17-bif-writer-feasibility.md §10. Note: opentile-go mis-renders BIF output until opentile-go#57 lands, so verify with bio-formats/QuPath, not opentile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions