// check the default progressive mode
harness.check(param.getProgressiveMode() == ImageWriteParam.MODE_DISABLED);
// check that compression is supported
harness.check(param.canWriteCompressed());
// check that a single compression type is supported
harness.check(param.getCompressionTypes().length == 1);
// check that the single compression type is called "JPEG"