Sets the maximum color value of the PNM image. Only required for PGM and PPM images
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(format_pnm), | intent(inout) | :: | this | |||
| integer, | intent(in) | :: | max_color |
elemental pure subroutine set_max_color(this, max_color) class(format_pnm), intent(inout) :: this integer, intent(in) :: max_color this%max_color = max_color end subroutine set_max_color