save method

save

Save texture data into image file

def save(self, file_name):
    ...
ParameterTypeDescription
file_namestrThe file name of where the image will be saved.

save

Save texture data into specified image format

def save(self, stream, format):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream that holds the saved image
formatstrImage format, usually file extension

save

Save texture data into image file

def save(self, file_name, format):
    ...
ParameterTypeDescription
file_namestrThe file name of where the image will be saved.
formatstrImage format of the output file.

See Also