protected void convertImage(String srcFilename,String dstFilename) throws IOException {
  BufferedImage originalImage=loadImage(srcFilename);
  BufferedImage outputImage=getImageWithTransparency(originalImage,0,0);
  outputImage=getScaled2x(outputImage);
  savePNGImage(dstFilename,outputImage);
}

protected void convertImage ( String srcFilename , String dstFilename ) throws IOException { BufferedImage originalImage = loadImage ( srcFilename ) ; BufferedImage outputImage = getImageWithTransparency ( originalImage , 0 , 0 ) ; outputImage = getScaled2x ( outputImage ) ; savePNGImage ( dstFilename , outputImage ) ; }
convert a single image file to destination file .
