|
|
Christoph Hormann wrote:
> Valid point (although after the 'P5' no newline is required - there is
> after the height though).
Yes, I didn't remember the details.
> But also note if that 'print' command adds a Windows newline (i.e.
> CR+LF) afterwards it generates an invalid PGM file.
That I knew. Actually, I think it was a P2 or P3 file I was generating
anyway. In any case, the point stands that in spite of the specs, it
doesn't get things right. I'm guilty as well - I've never written code
that reads pbmplus files that looks for comments. :-)
--
Darren New / San Diego, CA, USA (PST)
The samba was clearly inspired
by the margarita.
Post a reply to this message
|
|