Hello
In PovRay 3.6.1c.icl8.win32 a well formed PGM format (according to specs
at http://netpbm.sourceforge.net/doc/pgm.html) brings up "Parse Error:
Cannot read image data from PGM file"
File giving error is:
P2
5 4 170
147 148 150 153 153
153 151 130 110 146
155 113 121 131 145
149 159 160 158 150
Notice that between the height value (4) and the MaxVal (170) there is a
space and not a newline. If you replace by a newline it works.
The specs say that this should be a "Whitespace". I guess that this
means (blanks, TABs, CRs, LFs). So blank should work.
Hope this helps. Best regards
Phil
Post a reply to this message
|