Skip to main content

suitcase.tiff

This is a suitcase subpackage for reading a particular file format.

Installation

pip install suitcase-tiff

Quick Start

suitcase-tiff supports stack and series methods.

Using a stack of tiff images (multiple tiff frames in a single file):

import suitcase.tiff_stack
docs = db[-1].documents(fill=True)
suitcase.tiff_stack.export(docs, 'my_exported_files/')

The exported file will be saved as my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img.tiff

Using a series of tiff images (one frame per file)

import suitcase.tiff_series
docs = db[-1].documents(fill=True)
suitcase.tiff_series.export(docs, 'my_exported_files/')

Instead of one file, the exporter creates a separate file per row:

my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-0.tiff
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-1.tiff
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-2.tiff
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-3.tiff
...

The file prefix c416e70a-eb99-4964-bfc0-64e291313cce is the unique ID of the run. The default file prefix can be changed with the file_prefix keyword argument. See the documentation link below.

Documentation

See the suitcase documentation.

Release files for suitcase-tiff 0.4.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 suitcase-tiff 0.4.0
File Size Uploaded
suitcase-tiff-0.4.0.tar.gz 32.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for suitcase-tiff 0.4.0
File Interpreter ABI Platform
suitcase_tiff-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.2 kB

Release files / suitcase-tiff-0.4.0.tar.gz

Download URL suitcase-tiff-0.4.0.tar.gz
Size 32.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5c4083f38e7a17c95f208637be151af69deff8ed8097409f89933288e0c2743f
BLAKE2b-256 checksum
How to use checksums
0293d87bf557719f61ffcb15bff2027320cf57399d0bdf0090b31045f33c65fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / suitcase_tiff-0.4.0-py3-none-any.whl

Download URL suitcase_tiff-0.4.0-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9a056c95482d18e7a2bcce5df0df1450971724ec0bdb363c3f9403044cf5e05
BLAKE2b-256 checksum
How to use checksums
340a6001daaf0811a6a873c50e07565a08620101838efc97970e77f34d3d6ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4
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