wkhtmltopdf,使用stdin时如何使用相对路径图像

时间:2011-05-30 04:48:57

标签: linux wkhtmltopdf

files:sample.html,image.jpg。

sample.html:

...
<img src='image.jpg'/>
...

CMD:

cat sample.html | wkhtmltopdf - output.pdf

图片无法显示。

0 个答案:

没有答案
相关问题