Skip to content

Populate tiff context #53

@effigies

Description

@effigies

If a file suffix is .tif or .btf, it should populate a tiff context.

The object needs to follow the protocol bidsschematools.types.protocols.Tiff, possibly just using bidsschematools.types.context.Tiff.

I would suggest we look into the well-maintained Pillow, which has https://pillow.readthedocs.io/en/stable/reference/TiffTags.html, or the highly targeted https://github.com/cgohlke/tifffile/blob/master/tifffile/tifffile.py.

I see that tifffile supports OME-TIFF, so I will update #52 with this option as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions