Hello,

 

In my code:

                Image png = Image.getInstance(realPath +"/"+ getFileName());

                png.setAlignment(Element.ALIGN_CENTER);

                document.add(png);

 

As result in PDF this image is oversized and went out of page, where it has right size in pixels and looks good in HTML.

What I’m missing?

 

Thank you.

 

Best Regards.

Michael.

 

Reply via email to