LoadOptions.resourceLoadingCallback property. Allows To control how external resources (images, style sheets) are loaded when a Document is imported from HTML, MHTML.... let doc = new aw . Document ( base ...."Images.html" , loadOptions ); doc . save ( base . artifactsDir...