class documentation

class ImageFormatInfo(BaseModel): (source)

View In Hierarchy

Basic data for image formats.

Method path_matches Return True if path matches one of the supported extensions.
Class Variable extension Undocumented
Class Variable media_type Undocumented
Class Variable supported_extensions All supported extension (lowercase).
def path_matches(self, path: str) -> bool: (source)

Return True if path matches one of the supported extensions.

extension: str = (source)

Undocumented

media_type: str = (source)

Undocumented

supported_extensions: tuple[str, ...] = (source)

All supported extension (lowercase).