Skip to main content

tiffit

Lightweight command-line interface for handling tiff files in BigTIFF format.

Convert, extract information, and concatenate. That's it. Nothing fancy.

installation and usage

Install with pip and then use from command line.

pip install tiffit

# convert file into a well-behaved bigtiff file
tiffit convert old.tiff new.tiff

# get info about file without loading into memory
tiffit info filename.tiff

# concatenate two tiff files into a single bigtiff file
tiffit concat file1.tiff file2.tiff newfile.tiff

Notes / caveats

  • If there is other information you would like read out from the info command, please let me know, bearing in mind I am trying to keep this interface fairly universal and simple.
  • For an excellent overview of tiff (thousands of incompatible file formats), see [https://www.fileformat.info/format/tiff/egff.htm](this excellent overview). It is a bit dated, but is still the best thing I've found.
  • If you need a package with more complexity, see:

To do

  • add keyword argument to info so user can check on specific image in stack. Better yet, don't allow mixing of formats just make this a pure bigtiff library: add autoconversion of concatenated files.
  • add verbosity controller for convert and concat.

Acknowledgments

  • Powered by the tifffile and tifftools packages.
  • Developed with support from NIH Bioinformatics, NIEHS Neurobehavioral Core, NIEHS Neurobiology Laboratories. In particular thanks to Shaohua Wang for help during development.

Metadata

Release files for tiffit 0.1.0

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

Source distribution (sdist)

Source distribution for tiffit 0.1.0
File Size Uploaded
tiffit-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tiffit 0.1.0
File Interpreter ABI Platform
tiffit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / tiffit-0.1.0.tar.gz

Download URL tiffit-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
84c3bc8618f177ca726019b68dd8464a50e870e5db1bbeaa022386c8cfe73b9c
BLAKE2b-256 checksum
How to use checksums
e0474e610da0eacad0532d3050aadb9368f4eb216d897ef657479145f98e8aa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / tiffit-0.1.0-py3-none-any.whl

Download URL tiffit-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9402da65541706433c96ac74b2ae48c8e64617f4c336da1d84a14708366d8afa
BLAKE2b-256 checksum
How to use checksums
b2c5de4df09a51ef80ebdb39a037a9412fc210e2e1c3a934cca24f79390e58bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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