L
laniik
Hi, I was wondering if anyone knew how to read a pbm binary file (type
P5).
I know how to parse the header, which is ascii:
Format (P5)
# comments possibly
Width Height
Max Value (255)
BITBITBITBITBITBITBITBIT...
so my only question is how I can parse the binary data that comes after
it? Does anyone have any code/know what the format of the binary data
is? Thanks!
(oh, its greyscale if that wasnt clear, with 255 possible values)
Oliver
P5).
I know how to parse the header, which is ascii:
Format (P5)
# comments possibly
Width Height
Max Value (255)
BITBITBITBITBITBITBITBIT...
so my only question is how I can parse the binary data that comes after
it? Does anyone have any code/know what the format of the binary data
is? Thanks!
(oh, its greyscale if that wasnt clear, with 255 possible values)
Oliver