Description: Then check for the output format.
if (owner instanceof Codec) {
Format fmts[] = ((Codec)owner).getSupportedOutputFormats(null)
for (int j = 0 j < fmts.length j++) {
if (fmts[j].matches(jpegFmt)) {
qc = (QualityControl)cs[i]
qc.setQuality(val)
System.err.println("- Setting quality to " +
val + " on " + qc)
break
}
}
}
if (qc != null)
break
}
To Search:
File list (Check if you may need any files):