Skip to content

Imread format: unclear what are allowed values #19907

Closed
@nscozzaro

Description

@nscozzaro

In this description, the documentation provides no instruction on allowed values. This information is necessary in order to properly use the function. For example for a jpeg do you add format='.JPEG', 'JPEG', 'jpeg', 'JPG' etc...

format : str, optional
The image file format assumed for reading the data. If not
given, the format is deduced from the filename. If nothing can
be deduced, PNG is tried.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions