code: protected void applySettings(com.itextpdf.text.Image img) {
        if (img == null) {
           return;
        }
        img.scalePercent(getScale());
        img.setRotationDegrees(getValue(Image.ROTATE, Float.class));
        if (getSettings().getBooleanProperty(Boolean.FALSE, ReportConstants.DEBUG)) {
           DebugHelper.debugImage(getWriter().getDirectContent(), img, getSettings().getColorProperty(Color.MAGENTA, "debugcolor"), getStyleClass(),
               " (" + Image.class.getSimpleName() + " init)",
               getSettings(), getLayerManager(), (VectorPrintDocument) getDocument());
        }
     }
docs: apply settings according to the capabilities of this Image Styler. This implementation sets scale and rotation and
  calls {@link DebugHelper#debugImage(com.itextpdf.text.pdf.PdfContentByte, com.itextpdf.text.Image, java.awt.Color, java.lang.String, java.lang.String, com.vectorprint.configuration.EnhancedMap, com.vectorprint.report.itext.LayerManager, com.vectorprint.report.itext.VectorPrintDocument) } when applicable.
  
  @param img