save method

save

Saves the bitmap image to the specified stream with the specified image format and quality.

def save(self, stream, image_format, quality):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream to which the image will be saved.
image_formatWebImageFormatThe image format WebImageFormat to use for saving.
qualityintThe quality level of the saved image.

See Also