开发者

TCPDF scaling and quality issue

I am ge开发者_Python百科nerating PDF from image stream but there is always a little difference in the size of actual image and the image scales down as well .

I am using TCPDF class for it

Please help....


Set up your image document at a resolution of 72dpi and the document size of A4 (or whatever size you set in tcpdf).

Then when you call $tcpdf->image('/path/to/image.ext') the image should be the correct size.

Think in points - pixels aren't much use in a tcpdf-generated pdf space.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜