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 tiff-to-zarr - run script using cli:
tiff-to-zarr --src=PATH_TO_SOURCE_DIRECTORY/input_file.tif --dest=PATH_TO_DEST_DIRECTORY/output_file.zarr --num_workers=20, --cluster=local - to convert a tiff file to zarr with custom metadata values, you can run smthg similar to this:
tiff-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:
tiff-to-zarr --help
Metadata
Release files for tiff-to-zarr 0.6.14
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 | |
|---|---|---|---|---|
| tiff_to_zarr-0.6.14.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tiff_to_zarr-0.6.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / tiff_to_zarr-0.6.14.tar.gz
| Download URL | tiff_to_zarr-0.6.14.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
825fb1d9773fccd541ae2175e682a44bb75a8a2448c3d4b66248419de6cf6a4d
|
|
BLAKE2b-256 checksum How to use checksums |
22002e47c45878f050d23ad730c0789e055c6c752ab48651e2eebf28ac7425c8
|
| 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 / tiff_to_zarr-0.6.14-py3-none-any.whl
| Download URL | tiff_to_zarr-0.6.14-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9a418825e4b78809ee17f9fb503138ebf0f50c312e39b279f5eee0302f4533e
|
|
BLAKE2b-256 checksum How to use checksums |
cba6130c2da4b7f545da4ed841cef94df335e87b350d51b69f8a19bc730d7a30
|
| 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 tiff-to-zarr 0.6.14
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.