Skip to content

Original tile size from the source is not used #141

@fedorov

Description

@fedorov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions