Skip to main content

tiff-inspector

Tiff-Inspector is a Python package that allows you to easily inspect the content and metadata of TIFF (Tagged Image File Format) files. The package provides an easy-to-use interface to view and analyze the hierarchical structure, series, levels, and tags of TIFF files.

Features

  • Inspect hierarchical structure of TIFF files.
  • View metadata for series, levels, and individual pages.
  • Extract and display image descriptions.
  • Display metadata and tag values in a human-readable format.
  • Supports XML and plain text descriptions.

Installation

You can install Tiff-Inspector using pip:

pip install tiffinspector

Dependencies

  • tifffile
  • xmltodict
  • IPython

Usage

To use the Tiff-Inspector package, simply import the TiffInspector class and create an instance with the path to the TIFF file.

from tiffinspector import TiffInspector

# Instantiate the TiffInspector with the path to the TIFF file
tiff_inspector = TiffInspector("path/to/tiff/file.tif")

# Display the report
tiff_inspector.display_report(expanded=False, levels=None, max_text_length=None)

You can customize the display of the report by modifying the parameters:

  • expanded: If set to True, it will expand the JSON structures in the report.
  • levels: Set the number of tree levels to display. If set to None, it will display the entire tree.
  • max_text_length: Set the maximum length of text values in the report. If set to None, it will display the entire text.

Documentation

For more detailed information on the package and its functions, please refer to the source code and comments within the package.

License

This package is released under the MIT License.

Metadata

Release files for tiff-inspector 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tiff-inspector 0.1.1
File Size Uploaded Provenance Actions
tiff-inspector-0.1.1.tar.gz 10.0 kB Without provenance Details for tiff-inspector-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tiff-inspector 0.1.1
File Interpreter ABI Platform Actions
tiff_inspector-0.1.1-py3-none-any.whl Python 3 none any Details for tiff_inspector-0.1.1-py3-none-any.whl

Total release size: 20.8 kB

Release files / tiff-inspector-0.1.1.tar.gz

Download URL tiff-inspector-0.1.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d72e706cd4290aec2abf8462b82671eaa7a6dd5f91c5c37774d875a4b4274464
BLAKE2b-256 checksum
How to use checksums
c43b629dec5527282c968bc8b9d715f299eb98206ad5f45bb16c9ad4fc1b16b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / tiff_inspector-0.1.1-py3-none-any.whl

Download URL tiff_inspector-0.1.1-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
172f25dca110ce03f210d45d8562821240d0e81186cf10f823bfb84bf401ecdf
BLAKE2b-256 checksum
How to use checksums
e7b67fa800e35898097c96a3591de40d6ebcdac7572727bbe051458f7ef458aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for tiff-inspector 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page