Images exported by Save As HTML are low quality / low DPI

The images embedded in my ODT document are raster images. When I save to HTML, they get dumped out as gif/png. The problem is that the dumped images are of much lower quality than the original ones embedded in my ODT document. The difference is drastic.

Unlike PDF export, I don’t see an option anywhere to set the DPI for images in a HTML save / XHTML export. Is there a GUI option or a configuration file option that allows me to increase the DPI for HTML save /XHTML export? If not, would it be simple for me to temporarily modify OO Writer’s source code such that the default DPI of the exported images is increased? – which file are these defaults defined in?

TIA

Version: 6.3.6.2 (x64)
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

I tried now with a .png and a .jpg images, and the source and the exported images are identical. The .png saves as .png, and the .jpg as .jpg. (LibreOffice 6.3.6.2 (x86); OS: Windows 6.1).

Share your operating system and version of LibreOffice (see menu Help - About LibreOffice).

Add Answer is reserved for solutions. Press edit below your question if you want to add more information; also can comment an answer.

They aren’t. Here’s an example showing the difference: Poor Image Export by OO - Album on Imgur. Left is a browser, right is Writer. In the 1st image the browser is at 100% zoom, in the 2nd image the browser is at 200% zoom. In the 2nd picture Writer’s image and the browser’s image are roughly the same size, but the one in the browser is much more blurry.

It seems abnormal to me that your resulting image is smaller than the original.

Now I see a difference: I exported as .xhtml, no .html. In the .xhtml file the image is embedded.

XHTML export keeps sizes for some images. It also heavily distorts the sizes of others and potentially even skips them. Here is a diff of the XHTML export against the original: Imgur: The magic of the Internet. Notice how the large picture is totally missing.

Would you share the original file? Before, delete all sensible data, then edit your question and use the paper clip.