save method

save

Save the image to the file.

def save(self, filename):
    ...
ParameterTypeDescription
filenamestr

save

Save the image to the file.

def save(self, filename, format):
    ...
ParameterTypeDescription
filenamestr
formatImageFormat

save

Save the image to the stream.

def save(self, stream, format):
    ...
ParameterTypeDescription
streamio.RawIOBase
formatImageFormat

See Also