In this demo you can learn how to hide a HTML image from the generated PDF document and how to place a different image in the same position. By default the CSS selector selects all the images from HTML document for replacement. You can modify the CSS selector to select an image with a given ID using a selector like #ImageID.

A similar approach can be used for example to replace the HTML form elements with PDF form elements in order to create interractive PDF forms.
HTML Document URL
Settings
CSS Selector of the Images to Replace :