mPDF 5.7.1 - image displays as a broken [x]

后端 未结 11 1258
没有蜡笔的小新
没有蜡笔的小新 2020-12-29 05:59

I have a small issue with mPDF (version 5.7.1).

This code should generate PDF with image file:

 $mpdf = new mPDF();
 $html = \'

        
11条回答
  •  粉色の甜心
    2020-12-29 06:20

    In my case, the problem was just the usage of transparents PNG using the 6.0 version. This bug was fixed on the mpdf 6.1 version.

    I successfully solved the problem downloading the 6.1 version from here and overriding the mpdf files on my project.

提交回复
热议问题