Skip to content

How to read a true color GIF image #3473

@tomtobback

Description

@tomtobback

What did you do?

i'm trying to read frames in an RGB GIF image (not standard 8 bit palette)

What did you expect to happen?

reading frames of a standard indexed GIF image returns the original colours, works fine

What actually happened?

with my RGB GIF file, the colours go to black and white only, and the image.mode reports 'P' even when i can see in gimp that the image is RGB (not indexed colours)

What are your OS, Python and Pillow versions?

  • OS: Ubuntu Xenial
  • Python: 2.7.12
  • Pillow: 5.3.0

the image i'm using is at https://drive.google.com/file/d/1WEp8cuXAY_rAOE5E3tHm5zOBfJdWLn67/view?usp=sharing
sorry i'm not familiar enough with python/pillow to troubleshoot this by myself; is there any way to handle this kind of image?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions