Hosted by
 |
PGM
 |  | exception Expect_P5 |  |
 | Raised if the magic number is not P5. |  |
 |  | exception Expect_Maxval_255 |  |
 | Raised if the maxval is not 255. |  |
 |  | function Read |  |
 | Read a gray image from a portable graymap stream. |  |
|
 |  | function Read |  |
 | Read a gray image from a portable graymap file. |  |
|
 |  | procedure Write |  |
 | Write a gray image to a portable graymap stream. |  |
|
 |  | procedure Write |  |
 | Write a gray image to a portable graymap file. |  |
|
 |  | procedure Write |  |
 | Write a gray image to a portable graymap file on standard output. |  |
|
|
|