docs: @Override
      protected void renderImage(float x, float y, float width, float height, ImageResource resource) throws IOException
      {
          //DOM element
          Element el = createImageElement(x, y, width, height, resource);
          curpage.appendChild(el);
          //Image box
          BlockBox block = createBlock(pagebox, el, true);
          block.setStyle(createRectangleStyle(x, y, width, height, false, false));
          pagebox.addSubBox(block);
      }