logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Suriya Prakash Posted: Monday, February 2, 2026 10:28:06 PM(UTC)
 
I am trying to render the PDF Pages into image based on the DPI selected but as per the Render method which gets height and width we calculated this using the formula mentioned below.

int targetWidth = (int)(page.Width / 72 * dpi);
int targetHeight = (int)(page.Height / 72 * dpi);


When I am trying to render a page in 1200 DPI we faced the crashing.

https://drive.google.com/drive/f...nLJxJ_iuEUjo?usp=sharing

In the above link I have attached the PDF Samples and their exception images for your reference.