This is an excerpt from the document in question, which contains an image sized to be 4.65 inches wide, and results in a pixel width of 443 no matter what --dpi I specify.  The image is included in a block-quote section, which we use when we want to ident things because that is one of the few styling options that come across in markdown, but omitting this doesn't affect the width of the image.

Thanks!


On Monday, August 28, 2017 at 9:57:43 AM UTC-5, John MacFarlane wrote:
Can you give us a simple docx file to test with?

+++ Thomas Blom [Aug 27 17 20:21 ]:
>   Hi,
>   I convert docx to markdown using pandoc 1.19.2.1 on OSX 10.12 with
>   pandoc -t markdown_strict --dpi=128 --extract-media=images mydoc.docx
>   -o mydoc.md
>   I find that the image sizes in the markdown appear to be based on a
>   96dpi image resolution no matter what --dpi I specify, and also no
>   matter the meta-data in the files embedded in the (word for mac 2011)
>   document (PNG, 144dpi).
>   For example, one image in Word has been sized by the author to be
>   ~4.65inches wide.  The resulting markdown for this image specifies a
>   width of 443 pixels.  So I see that markdown is using a dpi of 443/4.65
>   =~ 96 regardless of efforts on my part to change this.
>   I would like to adjust this because the images appear smaller at this
>   pixel size than the same images in Word.  I can of course write a
>   post-processing script to adjust sizes on the markdown document, but
>   would prefer to avoid.  It seems like the --dpi option makes sense to
>   address my situation?
>   Thanks,
>   Thomas Blom
>

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/591842f3-2fcf-4a1b-b031-9b2c4f8dad05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.