<?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 : Performance when adding text elements</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 : General Discussion : Performance when adding text elements]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 11:10:55 +0000</pubDate>
  <lastBuildDate>Thu, 07 Jan 2016 20:49:26 +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=3240</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[Performance when adding text elements : Hi Michael,do you think it&amp;#039;s...]]></title>
   <link>http://www.quickpdf.org/forum/performance-when-adding-text-elements_topic3240_post12909.html#12909</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3240<br /><strong>Posted:</strong> 07 Jan 16 at 8:49PM<br /><br />Hi Michael,<div><br></div><div>do you think it's faster to do the first two steps instead of using an easy LoadFromFile (into memory as well)?</div><div>The same for the last step: An easy SaveToFile should be faster.</div><div>But all this saves time at the beginning and at the end. Most of the time will be consumed while working on the pages.</div><div>Here's a sample from the Debenu-knowledgebase about watermarking. If you do it the same way i fear there's no further time save option:</div><div>http://www.debenu.com/kb/programmatically-add-watermark-stamp-pdf/</div><div><br></div><div>BTW: A 100-mb-file on disk could be a much bigger file if it's loaded and structured into the memory.</div><div><br></div><div>Cheers and welcome here,</div><div>Ingo</div><div><br></div><span style="font-size:10px"><br /><br />Edited by Ingo - 07 Jan 16 at 8:52PM</span>]]>
   </description>
   <pubDate>Thu, 07 Jan 2016 20:49:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/performance-when-adding-text-elements_topic3240_post12909.html#12909</guid>
  </item> 
  <item>
   <title><![CDATA[Performance when adding text elements : Hello, I have to &amp;#034;watermark&amp;#034;...]]></title>
   <link>http://www.quickpdf.org/forum/performance-when-adding-text-elements_topic3240_post12901.html#12901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2817">x3mike</a><br /><strong>Subject:</strong> 3240<br /><strong>Posted:</strong> 04 Jan 16 at 4:54PM<br /><br />Hello, <br><br>I have to "watermark" existing PDF documents with some text elements. The process take a really long time. <br><br>For some tests I used this document I googled in the internet: <a href="http://scholar.princet&#111;n.edu/angelab/publicati&#111;ns/super-large-pdf-100mb" target="_blank" rel="nofollow">http://scholar.princeton.edu/angelab/publications/super-large-pdf-100mb</a><br><br>What I do: <br><ul><li>create TMemoryStream and load the data into it</li><li>create a TQuickPDF instance and load the document from the memorystream</li><li>Iterate each page, select it and add two text elements</li><li>save the document back to the stream and save the stream to a file</li></ul><p>On my machine this process takes 80 seconds! <br></p><p>How can I speed up the process? This kind of PDF-processing is used on a WebServer which dynamically adds user data to the delivered PDF. A processing time of average 40seconds totally blocks the server ...<br></p><p>Thank you for your help!</p><p>Best regards,<br>Michael<br></p>]]>
   </description>
   <pubDate>Mon, 04 Jan 2016 16:54:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/performance-when-adding-text-elements_topic3240_post12901.html#12901</guid>
  </item> 
 </channel>
</rss>