from PIL import Image image = Image.open('sample.png') pix = image.load() 

Is it possible to get an Image object from pix?

    1 answer 1

    According to the documentation is impossible. The PixelAccess class has no methods returning an Image . You can only read PixelAccess pixel-by-pixel and assign a color to another image, but this is essentially copying the image and you should use the method intended for this:

     from PIL import Image image = Image.open('sample.png') image_copy = image.copy()