I need to generate a pdf with some page size (A4, etc…) and I punlt an image into the document.
After that, I have to find out how much does the width of the image take out of whole page width?
In other words, I need to know which percentage of page width does the image width take?
Its important that page width is full paper size width (A4 or any other page size I choose at the moment of pdf creation).
Is there a way to accomplish this?