Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.io.image bob.io.image
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.io.imagebob.io.image
  • Issues
  • #26

GIF loading seems to be completely broken

When reading a GIF image, it seems that all the image is the same color:

$ convert bob/io/image/data/grace_hopper.png test.gif
$ ./bin/python
>>> import bob.io.image, numpy
>>> image = bob.io.image.load("test.gif")
>>> numpy.all(image[0] == image[0][0][0])
True
>>> image2 = bob.io.image.load("bob/io/image/data/grace_hopper.png")
>>> numpy.all(image2[0] == image2[0][0][0])
False

I am using the GIF version which is coming with the conda, which is currently libgif.so.7.0.0. I have not checked other GIF versions.

Assignee
Assign to
Time tracking