<?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 : DrawImage Settings and Memory Issue</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 : DrawImage Settings and Memory Issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 05:07:00 +0000</pubDate>
  <lastBuildDate>Thu, 11 Feb 2010 06:14:55 +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=1341</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[DrawImage Settings and Memory Issue : &amp;#034;...When I tried to do the...]]></title>
   <link>http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6142.html#6142</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1341<br /><strong>Posted:</strong> 11 Feb 10 at 6:14AM<br /><br />"...<br>When I tried to do the DAFileAppend method, it does seems that it does not work with the DrawImage method.<br>..."<br><br>Like i've written: Don't mix DA with non-DA ...<br><br>Cheers, Ingo<br>]]>
   </description>
   <pubDate>Thu, 11 Feb 2010 06:14:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6142.html#6142</guid>
  </item> 
  <item>
   <title><![CDATA[DrawImage Settings and Memory Issue : Thanks Ingo.   Sorry I am new...]]></title>
   <link>http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6136.html#6136</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1248">eddy2099</a><br /><strong>Subject:</strong> 1341<br /><strong>Posted:</strong> 10 Feb 10 at 1:19AM<br /><br />Thanks Ingo. <br /><br />Sorry I am new at this. When I tried to do the DAFileAppend method, it does seems that it does not work with the DrawImage method. I read that there is a limit to what Direct Access methods and functions can do.<br /><br />As such, probably my option would be to probably create say PDF of about 100 pictures each then merge them once all the 'smaller' pdfs are created.]]>
   </description>
   <pubDate>Wed, 10 Feb 2010 01:19:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6136.html#6136</guid>
  </item> 
  <item>
   <title><![CDATA[DrawImage Settings and Memory Issue : Hi Eddy!Here you can see what...]]></title>
   <link>http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6132.html#6132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1341<br /><strong>Posted:</strong> 09 Feb 10 at 6:11AM<br /><br />Hi Eddy!<br><br>Here you can see what i mean with "a free from time to time":<br>http://www.quickpdf.org/forum/creating-large-files-very-slow_topic813_post3919.html?KW=QP.Free#3919<br>What's your problem with DAAppendFile? Please keep in mind that it's not possible to mix the DA-functions with the non-DA-functions!<br>Try the search-functionality (advanced) above with "QP.Merge"... you'll find many samples.<br><br>Cheers and welcome here, Ingo<br>&nbsp;<br>]]>
   </description>
   <pubDate>Tue, 09 Feb 2010 06:11:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6132.html#6132</guid>
  </item> 
  <item>
   <title><![CDATA[DrawImage Settings and Memory Issue : Hi Tom and Ingo,  Thank you very...]]></title>
   <link>http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6131.html#6131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1248">eddy2099</a><br /><strong>Subject:</strong> 1341<br /><strong>Posted:</strong> 09 Feb 10 at 1:13AM<br /><br />Hi Tom and Ingo,<br /><br />Thank you very much for answering my questions. <br /><br />I've looked at the DAAppendFile but apparently that was the wrong direction to take since it did not really work in my case. I supposed that I could create several PDF files, perhaps 100 images per file then use MergeFileList to combine them all.<br /><br />If there is any suggestions, do feel free to drop them here ;) Thanks again, you are certainly a very helpful bunch.<span style="font-size:10px"><br /><br />Edited by eddy2099 - 09 Feb 10 at 1:14AM</span>]]>
   </description>
   <pubDate>Tue, 09 Feb 2010 01:13:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6131.html#6131</guid>
  </item> 
  <item>
   <title><![CDATA[DrawImage Settings and Memory Issue : Hi Eddy!The newest version shouldn&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6130.html#6130</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1341<br /><strong>Posted:</strong> 08 Feb 10 at 8:27PM<br /><br />Hi Eddy!<br><br>The newest version shouldn't have problems with memory.<br>But if it's like you told us:<br>Try to make a "free" after a fix number of images and then a new "create" with the next images and so on... all appending to the first pdf-part.<br>Long time ago i've done it this way to avoid memory-problems.<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Mon, 08 Feb 2010 20:27:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6130.html#6130</guid>
  </item> 
  <item>
   <title><![CDATA[DrawImage Settings and Memory Issue : Hi:  By default, a PDF&amp;#039;s...]]></title>
   <link>http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6127.html#6127</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1140">Shotgun Tom</a><br /><strong>Subject:</strong> 1341<br /><strong>Posted:</strong> 08 Feb 10 at 5:12PM<br /><br />Hi:<DIV>&nbsp;</DIV><DIV>By default, a PDF's document origin is at the bottom left of the page.&nbsp; You can change this using the QuickPDF Library.&nbsp; See the "Set Origin" method.&nbsp; If, for example, you want to set the origin to top left then the method would be QP.SetOrigin(1).&nbsp; Now when you use Drawing commands it starts at the top left instead of the bottom left of the document.</DIV><DIV>&nbsp;</DIV><DIV>Tom</DIV>]]>
   </description>
   <pubDate>Mon, 08 Feb 2010 17:12:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6127.html#6127</guid>
  </item> 
  <item>
   <title><![CDATA[DrawImage Settings and Memory Issue : I am currently evaluating v7.17...]]></title>
   <link>http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6124.html#6124</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1248">eddy2099</a><br /><strong>Subject:</strong> 1341<br /><strong>Posted:</strong> 08 Feb 10 at 8:23AM<br /><br />I am currently evaluating v7.17 and my main use of the library would be to merge images into a single pdf file. <DIV>&nbsp;</DIV><DIV>1) DrawImage</DIV><DIV><BR>I was reading up on the DrawImage method which reads</DIV><DIV>&nbsp;</DIV><DIV><strong>function</strong>&nbsp;TQuickPDF0717.DrawImage(Left,&nbsp;Top,&nbsp;Width,&nbsp;<BR>&nbsp;&nbsp;Height:&nbsp;Double):&nbsp;Integer; </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;and try the following line</DIV><DIV>&nbsp;</DIV><DIV>QP.DrawImage(0,0,lWidth,IHeight);</DIV><DIV>&nbsp;</DIV><DIV>It however does not draw anything but blank pages. <BR><BR>I found the Delphi_DCU_Convert_Image_to_PDF example and found the implementation as </DIV><DIV>&nbsp;</DIV>QP.DrawImage(0, lHeight, lWidth, lHeight); <DIV>&nbsp;</DIV><DIV>and that did the trick as the image filled the whole page.</DIV><DIV>&nbsp;</DIV><DIV>I am actually confused here, shouldn't the 'Top' parameter refers to the top most pixel in which to place the image and not the bottom most pixel to place the image. </DIV><DIV>&nbsp;</DIV><DIV>Is there an error to the component implementation or the documentation in wrong in this or I am just misinterpreting this.</DIV><DIV>&nbsp;</DIV><DIV>2) Memory Issue</DIV><DIV><BR>The second issue I have is that I would need to add some 200 odd images to a single PDF file and for my test of about 180 jpeg images, the memory usage keeps ballooning each time I add an image. Is there a way to get the library to write to file midway, &nbsp;I did use the&nbsp;'SetTempFile' and 'SetTempPath' but it looks like they were not being used. With 180 images, it seems to work fine as the memory usage for the program was about 600mb. <BR><BR>However when I added some 500 images, when it hits about 1.8gb memory usage, it stopped accepting images and reject them. Also the PDF file generated was about 6kb which was apparently in error.&nbsp; Is there anything I can do to prevent this from happening ?</DIV><DIV>&nbsp;</DIV><DIV>Sorry but I am new to this library. However, I must say that it is quite fast in adding the images.&nbsp;Overall the output looks good when it worked.<BR><BR></DIV><span style="font-size:10px"><br /><br />Edited by eddy2099 - 08 Feb 10 at 8:48AM</span>]]>
   </description>
   <pubDate>Mon, 08 Feb 2010 08:23:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawimage-settings-and-memory-issue_topic1341_post6124.html#6124</guid>
  </item> 
 </channel>
</rss>