save method

save(self, file_name)

Saves Image to the specified file

def save(self, file_name):
    ...
ParameterTypeDescription
file_namestr

save(self, stream, image_format)

Saves the Image to the specified stream in the specified format.

def save(self, stream, image_format):
    ...
ParameterTypeDescription
streamio.RawIOBase
image_formatPPImageFormat

save(self, file_name, image_format)

Saves the Image to the specified file in the specified format.

def save(self, file_name, image_format):
    ...
ParameterTypeDescription
file_namestr
image_formatPPImageFormat

See Also