This is still a work in progress. Most of it works, but there is a case in a P6 file where there are no newlines which breaks the parsing since I wrote it assuming that things would always be broken by newlines.
I do have open questions for this for anyone who cares (@akonneker?)
Should the ImageType be:
Pnm
Pnm(subtype)
Split them into Pbm, Pgm, Ppm
Something else?
Should I handle more than P1 - P6, and if so do you have example files? I've seen P7, PF, PF4, and there are probably more I'm not aware of.
This is still a work in progress. Most of it works, but there is a case in a P6 file where there are no newlines which breaks the parsing since I wrote it assuming that things would always be broken by newlines.
I do have open questions for this for anyone who cares (@akonneker?)
Pnm
Pnm(subtype)
Pbm
,Pgm
,Ppm
Resolves #14