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

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
Suriya Prakash  
#1 Posted : Monday, February 2, 2026 10:28:06 PM(UTC)
Quote
Suriya Prakash

Rank: Newbie

Groups: Registered
Joined: 12/29/2025(UTC)
Posts: 7
India
Location: Coimbatore

Thanks: 2 times
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.
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.