Sets the encoding of the PNM image. Supported values are ascii
or plain
and binary
or raw
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(format_pnm), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | encoding |
elemental pure subroutine set_format(this, encoding) class(format_pnm), intent(inout) :: this character(*), intent(in) :: encoding this%encoding = trim(encoding) end subroutine set_format