Read a binary PPM (P6, maxval 255) as written by pdftoppm.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| integer(kind=1), | intent(out), | allocatable | :: | img(:) | ||
| integer, | intent(out) | :: | w | |||
| integer, | intent(out) | :: | h | |||
| logical, | intent(out) | :: | ok |