after this link, I was able to download and read pixels from .gif. This question specifically sets the RGB value, but the accepted (and the most voted answer) that I used as a reference makes me get int as a value. What is it? I think some kind of index, but how to convert it to the correct rgb value? Thanks
[..]
img = Image.open(GIF_FILENAME)
pix = img.load()
for i in range(5):
print img.getpixel((i, 0))
[..]
source
share