I am trying to extract frames of a GIF but when I am opening them, I am getting unexpected color(in the provided GIF, I am getting Pink color) in the background. This is happening with all the frames except with the first frame(frame number = 0). I tried to change color palette but observed no changes.
from PIL import Image def main(): im = Image.open('Original_GIF.gif') for frame_num in range(0, im.n_frames): im.seek(frame_num) im.show() if __name__ == "__main__": main()
Here is the original GIF: