private void doImage(PDFObject obj) throws IOException {
  cmds.addImage(PDFImage.createImage(obj,resources));
}

private void doImage ( PDFObject obj ) throws IOException { cmds . addImage ( PDFImage . createImage ( obj , resources ) ) ; }
parse image data into a java bufferedimage and add the image command to the page .
