Sets the file format of the PNM image. Supported values are pbm
, pgm
, and ppm
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(format_pnm), | intent(inout) | :: | this | |||
character(len=3), | intent(in) | :: | file_format |
elemental pure subroutine set_file_format(this, file_format) class(format_pnm), intent(inout) :: this character(3), intent(in) :: file_format this%file_format = file_format end subroutine set_file_format