generate-tiff-offsets
A python cli (and web-application) for generating an Image File Directory (IFD) index for TIFFs. See the benchmark from our paper or watch our video explainer to learn more about how our strategy improves random chunk access speeds for OME-TIFF in Viv.
TIFF IFD Index specification
The content of an TIFF IFD Index should match the given description here.
Version 0
Prototype spec for the structure required for TIFF IFD Index (JSON):
[IFD_offset_0, IFD_offset_1, IFD_offset_2, IFD_offset_3, ..., IFD_offset_N]
where IFD_offset_n corresponds to the nth byte-offset for the corresponding
Image File Directory in the linear TIFF series.
Note For OME-TIFF, the ordering of IFDs is determined by the
DimensionOrderattribute in the OME-XML metadata. Each combination ofC,Z, andTcorresponds to one IFD, meaning the total number of IFDs is the product of these dimensions (T x C x Z) and independent of the number of pyramidal resolutions in the OME-TIFF.
🐍 Python CLI
pip install generate-tiff-offsets
generate_tiff_offsets --input_file <my_file>.ome.tiff
This command writes the Version 0 Index to the local file system, adjacent to the
input TIFF with the file name <my_file>.offsets.json.
Warning Our OME-TIFF web-viewer, Avivator expects this naming convension and folder structure in order for the Indexed OME-TIFF to be recognized.
🌎 Web application
The website requires no installation and can be used to generate the Version 0 index directly in the browser. See our video tutorial for usage instructions.
Metadata
Release files for generate-tiff-offsets 0.1.9
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 | Actions |
|---|---|---|---|---|
| generate_tiff_offsets-0.1.9.tar.gz | 13.4 kB | With provenance | Details for generate_tiff_offsets-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| generate_tiff_offsets-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for generate_tiff_offsets-0.1.9-py3-none-any.whl |
Total release size: 18.3 kB
Release files / generate_tiff_offsets-0.1.9.tar.gz
| Download URL | generate_tiff_offsets-0.1.9.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
330b6d998dd7f2cfb0b25b9dd00cc49a48e7f0d1d38bba80e4de29d6f2eb534a
|
|
BLAKE2b-256 checksum How to use checksums |
841fa0877178ae7796c11b7c64c5442776612f280725fe8c333c68c63b4b8180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.
Transparency logRelease files / generate_tiff_offsets-0.1.9-py3-none-any.whl
| Download URL | generate_tiff_offsets-0.1.9-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a157d87ce54ea3967c1fa9d98ff646899b36b2f6243ec705fc9f011c8bc9e4a0
|
|
BLAKE2b-256 checksum How to use checksums |
ebf455cbd4dd3965c7006d8cadc8201d73dc88b7a55d39ba98cb391d9343146e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.
Transparency logSecurity for generate-tiff-offsets 0.1.9
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for generate_tiff_offsets-0.1.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.