Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a robust parser PPM/PGM file header #15

Open
gonzalezsieira opened this issue Nov 7, 2018 · 0 comments
Open

Implement a robust parser PPM/PGM file header #15

gonzalezsieira opened this issue Nov 7, 2018 · 0 comments
Assignees

Comments

@gonzalezsieira
Copy link
Owner

From http://paulbourke.net/dataformats/ppm/:

The following are all valid PPM headers.

Header example 1

P6 1024 788 255

Header example 2

P6 
1024 788 
# A comment
255

Header example 3

P3
1024 # the image width
788 # the image height
# A comment
1023

Currently, only type 2 is supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant