Gets the encoding of the PNM image.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(format_pnm), | intent(in) | :: | this |
pure function get_format(this) result(encoding) class(format_pnm), intent(in) :: this character(:), allocatable :: encoding encoding = trim(this%encoding) end function get_format