<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : C# QuickPDFDARenderPageToFile throws SEHException</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : C# QuickPDFDARenderPageToFile throws SEHException]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 20 Jun 2026 08:06:43 +0000</pubDate>
  <lastBuildDate>Mon, 18 Jun 2012 10:15:12 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2299</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[C# QuickPDFDARenderPageToFile throws SEHException : We will be looking at optimisation...]]></title>
   <link>http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9793.html#9793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2299<br /><strong>Posted:</strong> 18 Jun 12 at 10:15AM<br /><br />We will be looking at optimisation of this type of task for the upcoming QPL 9.xx releases.]]>
   </description>
   <pubDate>Mon, 18 Jun 2012 10:15:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9793.html#9793</guid>
  </item> 
  <item>
   <title><![CDATA[C# QuickPDFDARenderPageToFile throws SEHException : Thank you, AndrewC. I switched...]]></title>
   <link>http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9783.html#9783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1973">murpium</a><br /><strong>Subject:</strong> 2299<br /><strong>Posted:</strong> 15 Jun 12 at 3:59PM<br /><br />Thank you, AndrewC. I switched to compiling in 64-bit and using the 64-bit QuickPDF DLL and that has resolved my problem. The program now jumps up to about 2GB of memory when creating a TIFF and lowers back down to 500MB between conversions. I understand that the output TIFF is gargantuan but&nbsp;I was hoping use of the DA (Direct Access) functions would have helped keep the memory usage lower.]]>
   </description>
   <pubDate>Fri, 15 Jun 2012 15:59:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9783.html#9783</guid>
  </item> 
  <item>
   <title><![CDATA[C# QuickPDFDARenderPageToFile throws SEHException : That is a very large PDF to be...]]></title>
   <link>http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9781.html#9781</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2299<br /><strong>Posted:</strong> 15 Jun 12 at 12:38PM<br /><br />That is a very large PDF to be rendering at 300dpi in 32bit mode. &nbsp;<div><br></div><div>The page size is 91.4cm x 1.2 metres &nbsp;- &nbsp;ie &nbsp;about 1m square. &nbsp; 10795 x 14505 pixels which requires lots of memory to &nbsp;process and render.</div><div><br></div><div>I would suggest you compile your app in 64bit mode if possible. &nbsp;I am pretty sure Quick PDF library is having memory issues rendering this PDF.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Fri, 15 Jun 2012 12:38:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9781.html#9781</guid>
  </item> 
  <item>
   <title><![CDATA[C# QuickPDFDARenderPageToFile throws SEHException :  A set of PDFs a customer sent...]]></title>
   <link>http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9769.html#9769</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1973">murpium</a><br /><strong>Subject:</strong> 2299<br /><strong>Posted:</strong> 14 Jun 12 at 9:49PM<br /><br /><div>A set of PDFs a customer sent us has broken my program for batch converting PDFs to G4 TIFF files at 300 DPI.</div><div><br></div><div>The chunk of code affected seems to be:</div><div><br></div><div><font face="Courier New, Courier, mono">PDFLibrary pdflib = new PDFLibrary("QuickPDFDLL0816.dll");</font></div><div><font face="Courier New, Courier, mono">pdflib.UnlockKey("my key here");</font></div><div><font face="Courier New, Courier, mono">handle = pdflib.DAOpenFileReadOnly(file, "");</font></div><div><font face="Courier New, Courier, mono">int numpages = pdflib.DAGetPageCount(handle);</font></div><div><font face="Courier New, Courier, mono">for (int j = 1; j &lt;= numpages; j++) {</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; int pHandle = pdflib.DAFindPage(handle, j);</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; int ret = pdflib.DARenderPageToFile(handle, pHandle, 10, dpi, outputFile.ToString() + " page " + j + ".tif");</font></div><div><font face="Courier New, Courier, mono">}</font></div><div><font face="Courier New, Courier, mono">pdflib.DACloseFile(handle);</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div>When DPI is changed from 300 to 150 it doesn't throw the exception, but rather creates a completely white/empty PDF. I'm running Windows 7 64-bit with 16GB of RAM (although the program is 32-bit and appears to cap out at 1GB of RAM). Is 300 DPI just too much for this document? Is there a way to get a more descriptive reason as to why this error is thrown?</div><div><br></div><div><br></div><div>One of the PDF files in the set is available here to look at:</div><div>http://dl.dropbox.com/u/11659372/Volume%201%20Combined%202.pdf</div><div><br></div><div>From what I can tell the PDFs from the client were created in Adobe Acrobat 9.2 (there's a line about it if I open the PDF in Notepad++ but you may want to check for yourself).</div><div><br></div><div>Thanks. Please let me know if I left out any additional information that might be helpful.</div><span style="font-size:10px"><br /><br />Edited by murpium - 14 Jun 12 at 10:14PM</span>]]>
   </description>
   <pubDate>Thu, 14 Jun 2012 21:49:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-quickpdfdarenderpagetofile-throws-sehexception_topic2299_post9769.html#9769</guid>
  </item> 
 </channel>
</rss>