문제

I am using dompdf to generate a PDF file. The PDF simply contains texts. I need the content of the PDF to show as an image instead of texts. I do not know where to start. Cannot find anything using Google. Any suggestions?

More info:

In the PDF I currently generated, I can select specific portion of texts by highlighting it using the mouse. In the PDF I should generate, I should not be able to select portion of texts because the texts is already an image. So the PDF I should generate contains an image, and the image contains the texts.

도움이 되었습니까?

해결책

You could generate a png first using phpgd / ImageMagick then shove it through dompdf

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top