Free Support Forum -

Search and Get Image dimensions from PDF Document

Hi there, i am trying to read image dimensions especially in pixels and inches separately. The code snippets given seem to give the dimensions in pixels but not in inches. can some one help with that


Thanks for contacting support.

Please note that the basic measuring unit in Aspose.Pdf for .NET is point, where 1 inch = 72 points and 1 cm = 1/2.54 inch = 0.3937 inch = 28.3 points. You can convert size into inches as per above measurements, hopefully it will serve the purpose. In case if you still face any issue, please share your source PDF document, so that we can run a test in our environment and share information with you accordingly.

Best Regards,
Asad Ali