glencoesoftware / raw2ometiff

Raw format to OME-TIFF converter
GNU General Public License v2.0
46 stars 20 forks source link

Tile width/length must be a multiple of 16 #88

Closed gsakkis closed 1 year ago

gsakkis commented 1 year ago

After converting CMU-1-Small-Region.svs to OME-Zarr via bioformats2raw and then converting the latter to OME-TIFF by raw2ometiff, the tile width and/or length of some pages is not a multiple of 16:

$ tiffinfo CMU-1-Small-Region.ome.tiff > /dev/null 
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile width 387, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile length 463, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile width 387, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile length 463, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile width 387, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile length 463, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile length 431, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile length 431, convert file.
CMU-1-Small-Region.ome.tiff: Warning, Nonstandard tile length 431, convert file.
melissalinkert commented 1 year ago

Thanks, @gsakkis. #89 is a proposed fix; if you have a chance to try that out, we'd welcome your feedback.

gsakkis commented 1 year ago

@melissalinkert I tested the 0.4.0 release and the issue has indeed been resolved; thanks and apologies for the delayed reply!