public PnmImagingParameters setSubtype(final ImageFormats subtype) {
        this.subtype = subtype;
        return asThis();
    }
Pnm format subtype (e.g. pam, pbm, etc).
src/main/java/org/apache/commons/imaging/formats/pnm/PnmImagingParameters.java