Load pnm file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
The input filename |
Loaded image pixel array
Save array as pnm image.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(:, :, :) | :: | img_array |
image array. have pix values. |
|
integer, | intent(in) | :: | maximum_value |
image maximum value. |
||
character(len=*), | intent(in) | :: | filename |
use as the fileame of saved image. |
Display array img. save array as pnm image named "output.pnm" then show via imagemagick.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(:, :, :) | :: | img |
image array, has pixel values. |
|
integer, | intent(in) | :: | maximum_value |
image maximum_value. |