Questions about PGMs!!

I have a assignment answering questions about pgms... I'm down to my last 3
questions and was seeing if anyone could lead me in the right direction here. Thanks!

If a PGM file has a width of 20 and a height of 30, how many integers will you need to read in for the PGM pixel data?

After the P2 file, what is the next field you need to read?

After you read in the width/height from a PGM file, what is the very next field you will need to read?

Topic archived. No new replies allowed.