Skip to main content

Fetch metadata from remote (https) tiff.

Project description

teletiffinfo

Read metadata of remote TIFF according to TIFF6 spec (currently only reads width and height.)

Requirements

server must support RANGE request.

Why?

For large TIFF files, it is often not feasible to download the full TIFF file in order to access the metadata.

Installation

  • via pip
pip install teletiffinfo

Usage

from teletiffinfo import try_tiff
try_tiff('https://file-examples-com.github.io/uploads/2017/10/file_example_TIFF_10MB.tiff') # returns (1950, 1301)

License

MIT

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

teletiffinfo-0.0.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

teletiffinfo-0.0.2-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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