This script could be used for conversion of a .tiff file to .zarr format with OME-NGFF multiscales metadata structure.
How to run
- open command line terminal
- install tif_to_zarr
pip install tif_to_zarr - run script using cli:
tif_to_zarr --src=PATH_TO_SOURCE_DIRECTORY/input_file.tif --dest=PATH_TO_DEST_DIRECTORY/output_file.zarr - to convert a tiff file to zarr with custom metadata values, you can run smthg similar to this:
tif_to_zarr --src=path_to_source_tif(3d or stack) --dest=path_to_output_zarr --num_workers=20 --cluster=local(or lsf) --zarr_chunks 13 128 128 --axes x z y --scale 4.0 5.0 6.0 --translation 1.0 2.0 3.0 --units nanometer nanometer nanometer - To get the list of options, you may run this:
tif_to_zarr --help
Metadata
Release files for tif-to-zarr 0.6.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tif_to_zarr-0.6.12.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tif_to_zarr-0.6.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / tif_to_zarr-0.6.12.tar.gz
| Download URL | tif_to_zarr-0.6.12.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fa547d3340d6b62c9338b6fd532bc27816328e5c4c0e4dfd92320b63bb1ebd2
|
|
BLAKE2b-256 checksum How to use checksums |
23ecbf0205db026d52a71c0cad6cfaf237919ca229fcd36ed45c04d04f218e88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.11.4 Darwin/23.2.0
|
Release files / tif_to_zarr-0.6.12-py3-none-any.whl
| Download URL | tif_to_zarr-0.6.12-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84d66405809da42ca6b28d659c3bcc6fd19d190c0dc64527ed1c58d6ae894915
|
|
BLAKE2b-256 checksum How to use checksums |
10a157a8a0410812793e1e3ff577fda2fb8d03565ef1099035212daa5cd0af2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.11.4 Darwin/23.2.0
|
Security for tif-to-zarr 0.6.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.