code: protected Image getTemplateImage(PdfTemplate template) throws BadElementException {
        if (templateImage == null) {
           templateImage = Image.getInstance(template);
           templateImage.setAbsolutePosition(0, 0);
        }
        
        return templateImage;
     }
docs: this image will be used for painting the total number of pages and for a failure header when failures are printed
  inside the report.
  
  @see #printFailureHeader(com.itextpdf.text.pdf.PdfTemplate, float, float)
  @see #printTotalPages(com.itextpdf.text.pdf.PdfTemplate, float, float)
  @param template
  @return
  @throws BadElementException