If the image dimensions fit a single page, there is a couple of methods should help:

  • PD4ML API call pd4ml.enableImgSplit(false)
  • CSS style IMG { page-break-inside: avoid }. In most of situations it is better to apply style page-break-inside: avoid not to an image directly, but to its hosting container (div, table row, etc).

Of course, if a particular image does not fit a single page, both methods take no effect for it.

From the two alternatives we would recommend to use the CSS approach. If your HTML documents are read-only, you may define the extra styles with addStyle() PD4ML API call.