Skip to content

Got damaged .tif from .svs #160

@HanyingYan

Description

@HanyingYan

Hi @cgohlke,

I have a series of .svs images that I would like to convert into .tiff. Most of them are small (less than 300MB) and I got .tif using your tifffile package without any problem.

image = tifffile.imread(svs_file)
tifffile.imwrite(tif_file, image, photometric='rgb')

However, there is one .svs file of size ~4GB. I first read with tifffile.imread and image is of size around 50GB. Then when I tried to write the .tif file, which ended up generating a damaged file that I couldn't open, without any error or warning message.
image

image

I wonder if you know what happened and what I can do to solve this issue.

Thank you!
Hanying

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions