load_pnm Function

public function load_pnm(filename) result(img_array)

Load pnm file

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

The input filename

Return Value integer, allocatable, dimension(:, :, :)

Loaded image pixel array