__init__ constructor

On this page

init

Initializes a new instance of the ImageDctHashSearchCriteria class with a specified file path.

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

Example

import groupdocs.watermark.search.searchcriteria as gws_sc

criteria = gws_sc.ImageDctHashSearchCriteria("logo.png")

init

Initializes a new instance of the ImageDctHashSearchCriteria class with a specified stream.

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

See Also

On this page