Skip to main content

No project description provided

Project description

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.

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

suitcase-tiff-0.4.0.tar.gz (32.9 kB view hashes)

Uploaded Source

Built Distribution

suitcase_tiff-0.4.0-py3-none-any.whl (20.3 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