wkhtmltopdf 0.12.4 - 图像未转换为pdf在kubernetes devops服务器中的scala

时间:2018-03-31 09:08:02

标签: scala wkhtmltopdf

我正在使用devops服务器,在这里,我需要使用Scala将HTML更改为pdf转换。为此,我使用了wkhtmltopdf 0.12.4包。 HTML除了图像之外,所有内容都转换得很好我使用了两种格式来生成图像。

 <img src="https://www.gstatic.com/webp/gallery3/5.png" alt="image_url_" 01 " width=400px style="padding:1%;border:0px;margin:0px;float:left ">

 <div style="background-image: url(&quot;https://www.gstatic.com/webp/gallery3/5.png&quot;); height: 73px; padding-top: 30px; text-align: center; width: 75px; color: white;box-sizing: border-box;line-height: 13px; background-repeat: no-repeat; list-style-type:
    none; ">62</div>

但是在Ubuntu机器上工作正常

正在使用我的s3配置,如

s3.https = false

但是我的图片网址就像https://这是将图片转换为pdf的原因

0 个答案:

没有答案