Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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)

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.