|
|
> There should be 16384 words for the data, plus 2 for the size, one for the
> max, and one more for the header. It's short by 6 words. However, this
> might be an issue with the encoding; perhaps you can zip your image and
> repost it in the binaries group?
I doubt this is an encoding problem, since the file is ASCII text. Why
would it need a word to represent the header and the size? I'm not sure of
the max either. They are ASCII codes. Technically it should be possible to
write a PGM file in a word processor and have it work. It almost seems like
the file is being read in binary. I'm going to upload a much smaller PGM
file to the binaries group that's easier to dissect.
Post a reply to this message
|
|