Is it possible to get the color of an RGB pixel using PIL? I am using this code:
im = Image.open("image.gif") pix = im.load() print(pix[1,1])
However, it outputs only a number (e.g. 0 or 1 ), not three numbers (e.g. 60,60,60 for R, G, B). I guess I donβt understand anything about the function. I would like the explanation.
Thank you very much.
python image pixel rgb python-imaging-library
GermainZ Jun 16 2018-12-16T00: 00Z
source share