code: public MimeType getMimeType() {
          String mimeType = getState(false).mimeType;
          if (mimeType != null) {
              return MimeType.valueOfMimeType(mimeType);
          } else {
              return null;
          }
      }
docs: Sets the {@link MimeType} of generated images
  
  @return The {@link MimeType} of generated images