TranscoderInput input = createTranscoderInput();
transcoder.transcode(input, null);
if (!transcoder.isIdentical()) {
report.setErrorCode(ERROR_IMAGE_DIFFER);
report.addDescriptionEntry(ERROR_IMAGE_DIFFER, "");
report.setPassed(false);
}
} catch (Exception ex) {
report.setErrorCode(ERROR_TRANSCODING);
report.addDescriptionEntry(ERROR_TRANSCODING, toString(ex));