Skip to content

Wishlist: support for zlib compression in Tiff files #241

Description

@ajasja
  • Picasso version: 0.4
  • Python version: 3.8.5
  • Operating System: Win10

Description

Trying to load a tiff with zlib compression. In my particular case there is a huge size difference between compressed and uncompressed.
image

What I Did

The file was written with and can be opened in imageJ.

tifffile.imwrite('test.zlib.ome.tif', out , ome=True, dtype=np.uint8, 
    photometric='minisblack', metadata={'axes': 'TYX'}, compression='zlib')

Tifffile (https://github.com/cgohlke/tifffile) could be used to load the tiff file.

Example image (no compression):
image

Example image of compressed file:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions