I'm getting a none value returned when I try to decode an gif image I've gotten from a URL. Could someone please direct me towards what I'm doing wrong? I haven't worked too much with images so I could really use some advice.
gif = "someurlthatgoestoagifimage.gif"
resp = urllib.request.urlopen(gif)
image = np.asarray(bytearray(resp.read()), dtype ="uint8")
image = cv2.imdecode(image, cv2.IMREAD_COLOR)