__init__ constructor

On this page

init

Initializes a new ImageThumbnailSearchCriteria instance with a specified file path.

def __init__(self, file_path):
    ...
Parameter Type Description
file_path str The file path to load image from.

init

Initializes a new ImageThumbnailSearchCriteria instance from a stream.

def __init__(self, stream):
    ...
Parameter Type Description
stream io.RawIOBase The stream to load image from.

See Also

On this page