Image.copy#

Image.copy(copy: bool = True) Image[source][source]#

Create image copy

Parameters:

copy (bool) – copy the image data

Returns:

copy of image

Return type:

Image

Create a new Image instance which contains a copy of the original image data. If copy is False the new Image instance contains a reference to the original image data.