Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob bob
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bobbob
  • Issues
  • #95
Closed
Open
Issue created Oct 27, 2012 by André Anjos@andre.anjos💬Owner

problem with visualizing .pgm files written by bob

Created by: ivana7c

The format of the .pgm files written by bob are not supported by some applications like GNOME image viewer or Gimp etc. However, it is possible to correctly read them back using bob. The difference between an .pgm image written with bob and other .pgm image is in the header (P7 for bob, P5 for other image).

Here is how to reproduce the error:

import bob import numpy img=numpy.random.randint(0,255,size=(100,100)).astype(numpy.uint8) bob.io.save(img, 'test.pgm')

Assignee
Assign to
Time tracking