2

I am using Pandoc to convert HTML to DOCX format. Everything works fine, but the resulting images are too big. If I resize them in input HTML nothing changes. I could resize the images with imagemagick, but they would be (more) blurry so this is a last resort.

Is it possible to specify "zoom level" for the images in Pandoc output document?

Also, if someone has a better converter which produces standalone DOC, DOCX or ODT that would help too... (my problem with unoconv is that it does not embed images, resulting document just references them - at least I couldn't find a way to do it)

1 Answer 1

2

If your images are appearing at 133% the size you expect, then the explanation is here: https://github.com/jgm/pandoc/issues/834. As explained there, you can use ImageMagick to set the DPI to 96 in the image files; this won't make them blurry.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.