code: @Override
     public final void processImage(com.itextpdf.text.Image img) throws VectorPrintException {
        applySettings(img);
        for (BaseStyler bs : stylers) {
           // these stylers are configured in the setup after this importing stylers, apply here
           if (bs.canStyle(img) && bs.shouldStyle(data, img)) {
              bs.style(img, data);
           }
        }
        
        if (getValue(SEPARATE_PAGE, Boolean.class)) {
           if (getValue(FITTOIMAGE, Boolean.class)) {
              getDocument().setPageSize(new Rectangle(img.getScaledWidth(), img.getScaledHeight()));
           } else if (getValue(FITTOPAGE, Boolean.class)) {
              img.scaleToFit(getDocument().getPageSize().getWidth(),getDocument().getPageSize().getHeight());
           }
           if (getValue(NOFOOTER, Boolean.class)) {
              getSettings().put(ReportConstants.PRINTFOOTER, "false");
           }
           getDocument().newPage();
        }
        if (getValue(DRAWDIRECT, Boolean.class)) {
           this.imageBeingProcessed = img;
           drawOnPage(imageBeingProcessed);
           this.imageBeingProcessed = null;
        } else {
           addToDocument(img);
        }
     }
docs: applies settigns to the image and after this adds the image to the report based on
  {@link #SEPARATE_PAGE}, {@link #FITTOIMAGE}, {@link #FITTOPAGE}, {@link #NOFOOTER} and {@link #DRAWDIRECT}.
  
  @param img
  @throws VectorPrintException