We're Hiring!

How to view large PNG images after upload?

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Re: How to view large PNG images after upload?

Postby jamesan » Thu May 22, 2014 8:02 pm

mlinkert wrote:
The only requirement is for a single TIFF file that stores the image(s) internally as a set of tiles, rather than storing the entire image in one big block - this is part of the TIFF standard, and a common feature for software that writes TIFF files. I believe that Pillow can do this, but am not positive; if you aren't sure, we can verify given either a file or the output of 'tiffinfo file.tiff' (tiffinfo being part of libtiff: http://www.libtiff.org/tools.html).


Thanks for pointing this out. The tiled tiff is a good direction for me to go.

I've checked the Pillow docs and Pillow can read but not write tiled tiffs. I'll ask if they have an interest in adding write ability.

[edit]
After reading more I may be mistaken. I will try first and find out.
jamesan
 
Posts: 13
Joined: Wed May 07, 2014 5:36 pm

Re: How to view large PNG images after upload?

Postby jamesan » Thu May 22, 2014 11:19 pm

Pillow does not support writing Tiled Tiff images at this time. I filed an enhancement request:
https://github.com/python-imaging/Pillow/issues/672#issuecomment-43953533

PyLibTiff may support writing tiles:
https://code.google.com/p/pylibtiff/

I will keep poking around on how to write tiled tiff from Python.
jamesan
 
Posts: 13
Joined: Wed May 07, 2014 5:36 pm

Previous

Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 0 guests