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)
Built Distribution
Close
Hashes for teletiffinfo-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c18b9ee5fac2dc9f063c6e0771f6411a6255ada5fd25b179b74b06b1c46792c |
|
MD5 | 38dd475905c753fc0cad517ecd81cc09 |
|
BLAKE2b-256 | fbbfebe6ceb2008b872d146129ba157fde9f3ce04170c2aaff4b2456f4237443 |