<?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 : Creating large PDFs from PNG files</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 : Creating large PDFs from PNG files]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 22 May 2026 13:57:38 +0000</pubDate>
  <lastBuildDate>Tue, 30 Jun 2009 05:28:15 +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=1120</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[Creating large PDFs from PNG files : As Ingo mentioned, the DA and...]]></title>
   <link>http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5224.html#5224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 1120<br /><strong>Posted:</strong> 30 Jun 09 at 5:28AM<br /><br />As Ingo mentioned, the DA and non-DA functions will not work together at all. You could try using the MergeFileListFast function if you wanted to try to do this in memory, however, if you're dealing with PDFs over 50-100 MB, this can be quite slow due to the nature of PDFs.<div><br></div><div>As for merging using the direct access functions, the method you've outlined should do the trick and I can't see any obvious way to optimize it further to make it less clunky. I have however added a new feature request to our database for a simpler way to merge files using the direct access functionality, but there's no ETA for this feature at the moment.</div><div><br></div><div>Cheers,</div><div>- Rowan.</div>]]>
   </description>
   <pubDate>Tue, 30 Jun 2009 05:28:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5224.html#5224</guid>
  </item> 
  <item>
   <title><![CDATA[Creating large PDFs from PNG files : Hi Eric! The big difference between...]]></title>
   <link>http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5212.html#5212</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1120<br /><strong>Posted:</strong> 29 Jun 09 at 6:43AM<br /><br />Hi Eric!<DIV>The big difference between DA- and not DA-functions is that the Not-DA-functions load the complete pdf-document into memory before working on it. If you want to add few png-files and if your final pdf-document won't be larger than (let us say) 20-25 mb then it's not necessary to use the DA-functions.</DIV><DIV>With create and free i mean this functions:</DIV><DIV>PDFLibrary := TQuickPDF0714.Create;<BR>PDFLibrary.Free;</DIV><DIV>Again:</DIV><DIV>If you need any code-samples have a look here:</DIV><DIV><a href="http://www.quickpdflibrary.com/samples/index.php" target="_blank">http://www.quickpdflibrary.com/samples/index.php</A></DIV><DIV>For your very first start have a look here:</DIV><DIV><a href="http://www.quickpdflibrary.com/help/getting-started.php" target="_blank">http://www.quickpdflibrary.com/help/getting-started.php</A></DIV><DIV>&nbsp;</DIV><DIV>Please don't mix DA- and Non-DA-functions! Not understandable situations can be the result. It should be clear that you can't work with functions which need a loaded pdf-document on a&nbsp;"DA-loaded document";-)&nbsp;&nbsp;&nbsp;&nbsp; So my answer&nbsp;to your point 4 is "No".</DIV><DIV>&nbsp;</DIV><DIV>You should now first start to try something then a lot of things will be clearer for you.</DIV><DIV>&nbsp;</DIV><DIV>Cheers, Ingo&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 06:43:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5212.html#5212</guid>
  </item> 
  <item>
   <title><![CDATA[Creating large PDFs from PNG files :  Thanks for the quick reply!Could...]]></title>
   <link>http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5209.html#5209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1098">Eric24</a><br /><strong>Subject:</strong> 1120<br /><strong>Posted:</strong> 28 Jun 09 at 11:45PM<br /><br />Thanks for the quick reply!<br><br>Could you elaborate a bit on your comments?<br><br>1) When you say I can live without the DA functions, my purpose of using them was to minimize memory usage by creating the full output file (that contains all the pages) on disk only. Are you saying I can achieve this without using DA functions?<br><br>2) Maybe this is what you're referring to by "free then a new create", but please explain exactly what I'm freeing and creating (and exactly what functions I should be calling).<br><br>3) I did find the C# sample for doing this, but since it appears to be doing everything in memory, I didn't think it would work for me. Maybe there is something I'm not understanding about the "high level" functions--would using them not result in a "completely in-memory" version of my output PDF?<br><br>4) Finally, on a related note, is it possible to "mix" DA and non-DA functions? In other words, could I do a non-DA CapturePage and use the CaptureID in a call to DADrawCapturedPage? (I believe the answer is no, but just making sure).<br><span style="font-size:10px"><br /><br />Edited by Eric24 - 29 Jun 09 at 4:44AM</span>]]>
   </description>
   <pubDate>Sun, 28 Jun 2009 23:45:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5209.html#5209</guid>
  </item> 
  <item>
   <title><![CDATA[Creating large PDFs from PNG files : Hi Eric!You can live without the...]]></title>
   <link>http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5208.html#5208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1120<br /><strong>Posted:</strong> 28 Jun 09 at 10:23PM<br /><br />Hi Eric!<br><br>You can live without the da-functions, too.<br>After each add you can do a "free" and then a new "create".<br>Please keep in mind "NewDocument" means always automatically "NewPage" - so if you're doing "NowDocument" and "NewPage" you have a pad with two pages.<br>On this page you'll find code samples directly from Debenu:<br>http://www.quickpdflibrary.com/samples/index.php<br><br>Cheers, Ingo<br>&nbsp;<br>]]>
   </description>
   <pubDate>Sun, 28 Jun 2009 22:23:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5208.html#5208</guid>
  </item> 
  <item>
   <title><![CDATA[Creating large PDFs from PNG files : I&amp;#039;ve been looking at the...]]></title>
   <link>http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5202.html#5202</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1098">Eric24</a><br /><strong>Subject:</strong> 1120<br /><strong>Posted:</strong> 28 Jun 09 at 8:39PM<br /><br />I've been looking at the various QPDFL functions and I'm not sure what the best approach is for this; hopefully someone has done this before and has some pointers...<br><br>I have a potentially large number of PNG files (too large to do this all in memory, so looking at a way to use DA functions for all or part of the process) that I need to convert into a single PDF file, where each page of the PDF is simply one of the PNGs.<br><br>My general thinking is to do something like this:<br><br>For each PNG:<br>&gt; NewDocument<br>&gt; NewPage<br>&gt; InsertPages (one page)<br>&gt; AddImageFromFile<br>&gt; DrawImage (onto new page)<br>&gt; SaveToFile (single page PDF)<br><br>Then, use DA functions (to do the merging on disk)...<br><br>&gt; DAOpenFile (output file)<br><br>For each single-page PDF:<br>&gt; DANewPage (add to output file)<br>&gt; DAOpenFile (input file)<br>&gt; DACapturePage (from input file)<br>&gt; DANewPage (in output file)<br>&gt; DADrawCapturedPage (on output file)<br>&gt; DACloseFile (input file)<br><br>&gt; DAClose File (output file)<br><br><br>I haven't actually tried this yet--it seems like it would work, but it also seems a bit clunky. So, is there a better way?<br><br>]]>
   </description>
   <pubDate>Sun, 28 Jun 2009 20:39:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/creating-large-pdfs-from-png-files_topic1120_post5202.html#5202</guid>
  </item> 
 </channel>
</rss>