pnmtoimage can't read conformant pgm/pnm files according to http://netpbm.sourceforge.net/doc/pgm.html specification.
Issue 294 only partially solve the issue.
Comment #1
Posted on Jan 7, 2015 by Helpful GiraffeCould you please be a little more specific ? Thx
Comment #2
Posted on Jan 7, 2015 by Quick Lionbefore r2942,
OpenJPEG failed to read data/baseline/conformance/a6_mono_colr_0.pgm
head -2 data/baseline/conformance/a6_mono_colr_0.pgm P5 3323 891 255
Because it was expecting P5 3323 891 255
The issue has been corrected for this specific PNM header disposition
A conforming header could be like : P5 3323 891 255 Or P5 3323 891 255 Or ...
In those cases, OpenJPEG would fail to read the file.
Status: Accepted
Labels:
Type-Defect
Priority-Low