// g.setPaint(transcoder.getBackgroundPaint());
// g.fillRect(0, 0, bfDiff.getWidth(), bfDiff.getHeight());
g.dispose();
diffBufferedImage(bfRef.getRaster(), bfNew.getRaster(), bfDiff.getRaster());
try{
transcoder.writeImage(bfDiff, new FileOutputStream(diffImg));
}
catch(Exception e){
}
display(String.valueOf(i+1) + ". " + "Creating the difference image file of " + refImg.getName());
try{