ImageWatermark constructor
init
Initializes a new instance of the ImageWatermark
class with a specified file path.
def __init__(self, file_path):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The path to the image that will be used as watermark. |
init
Initializes a new instance of the ImageWatermark
class with a specified stream.
def __init__(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The stream containing the image that will be used as watermark. |
See Also
- module
groupdocs.watermark.watermarks
- class
ImageWatermark