Skip to content

Support uncompressed stripped RGB TIFF#9

Merged
jcwal1516 merged 1 commit into
mainfrom
agent/support-stripped-tiff
Jul 17, 2026
Merged

Support uncompressed stripped RGB TIFF#9
jcwal1516 merged 1 commit into
mainfrom
agent/support-stripped-tiff

Conversation

@jcwal1516

Copy link
Copy Markdown
Member

What changed

  • recognize a narrow, validated subset of strip-based TIFF images
  • expose conventional TIFFs through a synthetic 256x256 tile grid
  • decode interleaved or separate 8-bit RGB sample planes with bounded full-image caching
  • document the supported constraints and add regression coverage

Why

The generic TIFF reader previously accepted only tiled images, so valid conventional uncompressed RGB TIFF files failed as unsupported.

User impact

The viewer can open a single top-level, uncompressed 8-bit RGB TIFF with top-left orientation, no predictor, and contiguous or planar samples. Unsupported TIFF variants continue to fail explicitly.

Validation

  • cargo test --locked generic_planar_stripped_rgb_tiff_opens_and_reads_synthetic_edge_tile
  • cargo fmt --all -- --check
  • cargo clippy --all-targets --locked -- -D warnings

@jcwal1516
jcwal1516 merged commit 694a64b into main Jul 17, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant