mPDF show the images some bigger than original (and blurred)

I have a simple example in PHP with mPDF with some html and image png of 400×200 pixeles.

But when mPDF generate the PDF, the image is some bigger than original and this is showed some blurred.

But if I put a size more small than original as attribute in the html tag, of course this is showed good.

The problem is I don’t know the size of images (generate dinamic) in other examples.

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.