Skip to content

Add zarr to TIFF series converter#4

Open
msayr wants to merge 1 commit into
Heinze-lab:mainfrom
msayr:main
Open

Add zarr to TIFF series converter#4
msayr wants to merge 1 commit into
Heinze-lab:mainfrom
msayr:main

Conversation

@msayr

@msayr msayr commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
  • Add emalign/io/zarr_to_tiff.py which opens a zarr dataset with tensorstore, reads each Z slice and writes it as an uncompressed TIFF using tifffile.imwrite(compression=None).
  • Writes one .tiff file per slice (filename prefix and zero-padding width configurable via --prefix and --digits).
  • Adds options for slice range (--slice-range), concurrency (-c/--cores), and --overwrite to replace existing files, and includes input validation for slice ranges.
  • Uses tqdm for progress reporting and ThreadPoolExecutor to parallelize writes when requested.

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