4
3
I need a way to insert hight quality PDF figures into Word without them distorting.
The figures are mostly scientific graphs generated through Python and Matplotlib. The main problem is the text labels in the graphs not rendering properly.
I know you can insert PDF's as objects and EPS files as images, but these figures then display very poorly in Word.
My current workflow is thus to export the figures as PNG files at 300DPI using Inkscape. However, the figure quality is still not satisfactory, and when I increase the DPI there is no apparent increase in quality.
Does someone know of a good way to insert high quality graphs into Word?
Each plot generated in pdf can be generated again in a different format if you have access to the script. With Imagemagick you can specify the dimension in pixel and obtain a png with the definition desired (e.g. 4961x7016 for A4 600 DPI). I strongly suggest you to give a look to Latex (maybe with a GUI as texmaker) instead.
– Hastur – 2016-01-27T09:12:37.5231Thank you. I am very familiar with Latex, but I'm not allowed to use it (sigh). With Inkscape I can also specify the exact output, but the problem is still that in Word the figure does not render properly, even at 300dpi. And increasing dpi does not seem to make it better. – Jonny – 2016-01-27T09:23:15.573
Imagemagick: Try to play around
– Hastur – 2016-01-27T09:26:22.830convert -density 600 file.pdf -resize 4961x7016 mypic.png
. Then resize, cut or whatever. Look the link before to have the A4 pixel size, or search on internet for letter format. You can change 600 and 4961x... in your best match. Give it a look here tooThank you, but I think the point that I am trying to make is that Word is distorting the figures, so the pre-processing is not the problem. I the meantime I will try Imagemagick. I just installed it. – Jonny – 2016-01-27T10:58:43.263