Skip to main content

A tool to extract, analyze, and report on metadata from TIFF, QPTIFF, and CZI files.

Project description

Image Metadata Recorder

A specialized tool for biomedical researchers to extract, analyze, and document metadata from various microscopy image formats. This package is designed to support research workflows by providing detailed insights into image acquisition parameters and experimental conditions.

Features

  • Multi-format Support

    • TIFF, QPTIFF, and CZI (Carl Zeiss Image) file processing
    • Extensible architecture for additional formats
  • Comprehensive Metadata Extraction

    • Image dimensions and properties
    • Channel information and configurations
    • Acquisition parameters
    • Instrument settings
    • Custom metadata fields
  • Reporting Capabilities

    • Markdown report generation
    • Structured data output in JSON format

Installation

Prerequisites

  • Python 3.8 or higher
  • pip (Python package installer)

Basic Installation

pip install image-metadata-recorder

Development Installation

git clone https://github.com/saptarshichakrabarti/image-metadata-recorder.git
cd image-metadata-recorder
pip install -e .

Usage

Command Line Interface

The tool can be used directly from the command line:

# Process all supported files in the current directory
record_image_metadata .

Output Files

For each processed image, the tool generates:

  • *_raw_metadata.json: Complete raw metadata in JSON format
  • *_processed_metadata.json: Cleaned and promoted metadata in JSON format
  • *_key_paths.txt: List of all metadata paths (for structure analysis)
  • *_report.md: Human-readable Markdown report

Example Workflow

  1. Place your image files in a directory
  2. Run the tool:
    record_image_metadata .
    
  3. Review the generated reports and metadata files

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_metadata_recorder-1.4.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

image_metadata_recorder-1.4.0-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file image_metadata_recorder-1.4.0.tar.gz.

File metadata

  • Download URL: image_metadata_recorder-1.4.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for image_metadata_recorder-1.4.0.tar.gz
Algorithm Hash digest
SHA256 80944bc2b64513be707d26689b686f19549da36291b1595430ba616ce3f61126
MD5 4f9f28cb2c2c0d96fecd63ac16b85a01
BLAKE2b-256 df656e919e6f18c0511569d5eff1f8ea836f89e5f55bbfbfb422c1c59a3e3884

See more details on using hashes here.

Provenance

The following attestation bundles were made for image_metadata_recorder-1.4.0.tar.gz:

Publisher: python-publish.yml on saptarshichakrabarti/image-metadata-recorder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file image_metadata_recorder-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for image_metadata_recorder-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8916dcd21c5673e791f48bbf8fb481d38a38d084cfbd3e816b33d2336784fbed
MD5 b94f5c7b0a33d82730dfc039449400e9
BLAKE2b-256 c4003584c3a3d7680706879f1521f0e7f484d32d1b8106ce9e5db4515df35c52

See more details on using hashes here.

Provenance

The following attestation bundles were made for image_metadata_recorder-1.4.0-py3-none-any.whl:

Publisher: python-publish.yml on saptarshichakrabarti/image-metadata-recorder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page