Skip to content

cli.py dies on greyscale-mode PNGs #58

Description

@wareya

add this or something equivalent to it before transposing the array:

if in_img.ndim == 2:
    in_img = np.expand_dims(in_img, axis=-1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions