It appears that despite the statement documenting the convert() function, which to me anyway appear to claim that original tile size can be requested
|
tile_size: Optional[int] = 512 |
|
Tile size to use if not defined by file. |
the actual tile size used by the converter when tile_size is set to None is populated from defailt_tile_size in the package settings:
|
if tile_size is None: |
|
tile_size = settings.default_tile_size |
|
if tile_size is None: |
|
tile_size = settings.default_tile_size |
Is this a bug in the implementation, or in describing the parameter? It is most definitely highly desirable to be able to use the original tiles, as is, from the source image while converting.
It appears that despite the statement documenting the
convert()function, which to me anyway appear to claim that original tile size can be requestedwsidicomizer/wsidicomizer/wsidicomizer.py
Lines 85 to 86 in 3a67076
the actual tile size used by the converter when
tile_sizeis set toNoneis populated fromdefailt_tile_sizein the package settings:wsidicomizer/wsidicomizer/sources/openslide_like/openslide_like_image_data.py
Lines 227 to 228 in 3a67076
wsidicomizer/wsidicomizer/extras/bioformats/bioformats_image_data.py
Lines 43 to 44 in 3a67076
Is this a bug in the implementation, or in describing the parameter? It is most definitely highly desirable to be able to use the original tiles, as is, from the source image while converting.