convert --to bif does not carry the source ICC profile, and verbatim/re-encoded Aperio APP14/RGB JPEG tiles sit in a Photometric=YCbCr-declared BIF — some readers may render off-colour. The TIFF-family writers carry ICC and handle photometric framing.
Goals:
- Carry the source ICC profile into the BIF (real DP 200 stores ICC on the level-0 pyramid IFD, tag 34675).
- Resolve the colour-space framing: set
Photometric per the actual tile JPEG (RGB/APP14 vs YCbCr), or normalise on re-encode, so colours are correct across readers.
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.
convert --to bifdoes not carry the source ICC profile, and verbatim/re-encoded Aperio APP14/RGB JPEG tiles sit in aPhotometric=YCbCr-declared BIF — some readers may render off-colour. The TIFF-family writers carry ICC and handle photometric framing.Goals:
Photometricper the actual tile JPEG (RGB/APP14 vs YCbCr), or normalise on re-encode, so colours are correct across readers.Part of the BIF writer parity set (bringing
convert --to bifto 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.