__init__ constructor

On this page

init

Initializes a new instance of the PresentationWatermarkableImage class using specified image data.

def __init__(self, image_data):
    ...
Parameter Type Description
image_data list[int] The array of unsigned bytes from which to create the PresentationWatermarkableImage.

Example

import groupdocs.watermark.contents.presentation as gwc_ppt

with open("background.png", "rb") as f:
    img = gwc_ppt.PresentationWatermarkableImage(f.read())

See Also

On this page