save_pnm Subroutine

public subroutine save_pnm(img_array, maximum_value, filename)

Save array as pnm image.

Arguments

Type IntentOptional 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.