<?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 : Add image to PDF File with &quot;DAOpenFile&quot;</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 : Add image to PDF File with &quot;DAOpenFile&quot;]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Jul 2026 02:54:37 +0000</pubDate>
  <lastBuildDate>Fri, 09 Jun 2023 14:28:35 +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=4012</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[Add image to PDF File with &quot;DAOpenFile&quot; : Provided that your program does...]]></title>
   <link>http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16273.html#16273</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 4012<br /><strong>Posted:</strong> 09 Jun 23 at 2:28PM<br /><br />Provided that your program does not crash on 'out of memory', there should be no problem with using the 'non-DA' functions, other that it being slower to process your very large file.&nbsp; If the other parts of your program give it a very big memory requirement, and the process memory exceeds 2GB, then you can try increasing this by adding {$SETPEFLAGS IMAGE_FILE_LARGE_ADDRESS_AWARE} immediately above the 'begin' in your Delphi DPR file. Or of course you could also build it as a 64-bit process, which might also speed it up a little.]]>
   </description>
   <pubDate>Fri, 09 Jun 2023 14:28:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16273.html#16273</guid>
  </item> 
  <item>
   <title><![CDATA[Add image to PDF File with &quot;DAOpenFile&quot; : There&amp;#039;s nothing to solve...]]></title>
   <link>http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16272.html#16272</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 4012<br /><strong>Posted:</strong> 08 Jun 23 at 9:36PM<br /><br />There's nothing to solve ;-)<div>Don't mix DA- with non-DA-functions.</div><div>Try the "normal" functions and do a complete refresh after the call.</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 08 Jun 2023 21:36:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16272.html#16272</guid>
  </item> 
  <item>
   <title><![CDATA[Add image to PDF File with &quot;DAOpenFile&quot; : Hi Ingo,thank you for help.I have...]]></title>
   <link>http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16269.html#16269</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2991">Amelie</a><br /><strong>Subject:</strong> 4012<br /><strong>Posted:</strong> 03 Jun 23 at 7:39AM<br /><br />Hi Ingo,&nbsp;<div>thank you for help.</div><div><br></div><div>&nbsp;I have a big file of 600mb, when I open it with ''LoadFromFile'', my application consumes a lot of resources, but, if I open this file with 'DAOpenFile', there is no consumption of resources.</div><div>&nbsp;- if I use 'DAOpenFile' + 'SaveToFile', the application creates an empty page with the image.&nbsp;</div><div>- if I use 'LoadFromFile' + 'SaveToFile', it's ok, but a lot of memory consumption.&nbsp;</div><div>How to solve this problem please?</div><div>&nbsp;THANKS</div><span style="font-size:10px"><br /><br />Edited by Amelie - 03 Jun 23 at 7:39AM</span>]]>
   </description>
   <pubDate>Sat, 03 Jun 2023 07:39:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16269.html#16269</guid>
  </item> 
  <item>
   <title><![CDATA[Add image to PDF File with &quot;DAOpenFile&quot; : Hi Amelie :)Don&amp;#039;t mix ......]]></title>
   <link>http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16266.html#16266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 4012<br /><strong>Posted:</strong> 02 Jun 23 at 9:23PM<br /><br />Hi Amelie :)&nbsp;<div><br></div><div>Don't mix ... NEVER mix DA-functions with non-DA-functions - This won't work.</div><div>Take the normal open- and the normal save-function and it will work as expected.</div><div><br></div><div>Cheers,</div><div>Ingo</div><div><br></div><span style="font-size:10px"><br /><br />Edited by Ingo - 02 Jun 23 at 9:23PM</span>]]>
   </description>
   <pubDate>Fri, 02 Jun 2023 21:23:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16266.html#16266</guid>
  </item> 
  <item>
   <title><![CDATA[Add image to PDF File with &quot;DAOpenFile&quot; : hi,Delphi : I access a PDF file...]]></title>
   <link>http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16264.html#16264</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2991">Amelie</a><br /><strong>Subject:</strong> 4012<br /><strong>Posted:</strong> 02 Jun 23 at 7:10PM<br /><br /><div>hi,</div><div><br></div><div><span ="hwtze"="" lang="en"><span ="jcahz="" chmk0b"=""><span ="rynqvb"=""><b><u>Delphi </u></b>: I access a PDF file with "DAOpenFile" .</span></span> <span ="jcahz="" chmk0b"=""><span ="rynqvb"="">I want to add an image to this PDF file then save it with another name with "DASaveAsFile".</span></span> <span ="jcahz="" chmk0b"=""><span ="rynqvb"="">I wrote the following code but it creates a PDF file with an empty page with the image.</span></span><span ="jcahz"=""><span ="rynqvb"=""> <br></span></span></span></div><div><span ="hwtze"="" lang="en">H<span ="jcahz="" chmk0b"=""><span ="rynqvb"="">ere is my code:</span></span></span></div><div><br></div><div><b>var<br>&nbsp; QuickPDF: TDebenuPDFLibrary;<br>&nbsp; FileHandle&nbsp; : Integer;<br>begin<br>try<br>&nbsp; QuickPDF := TDebenuPDFLibrary.Create ;<br>&nbsp; QuickPDF.UnlockKey(edtLicenseKey.Text)&nbsp;&nbsp;&nbsp; ;<br>&nbsp;FileHandle := QuickPDF.DAOpenFile('D:\MyPDF_file.pdf', '');<br><br>&nbsp;QuickPDF.AddImageFromFile('D:\Myimage.png',2);<br><br>&nbsp;QuickPDF.DrawImage(380, 200, 120, 120);<br><br>QuickPDF.DASaveAsFile( FileHandle , 'D:\PDF_With_image.pdf' );<br><br>&nbsp; finally<br>&nbsp;&nbsp;&nbsp; QuickPDF.Free;<br>&nbsp; end;</b></div><div><br></div><div>//---------------------</div><div><br></div><div><span ="hwtze"="" lang="en"><span ="jcahz="" chmk0b"=""><span ="rynqvb"="">how to do please?</span></span></span></div><div><span ="hwtze"="" lang="en"><span ="jcahz="" chmk0b"=""><span ="rynqvb"="">thanks<br></span></span></span></div><span style="font-size:10px"><br /><br />Edited by Amelie - 02 Jun 23 at 7:37PM</span>]]>
   </description>
   <pubDate>Fri, 02 Jun 2023 19:10:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/add-image-to-pdf-file-with-daopenfile_topic4012_post16264.html#16264</guid>
  </item> 
 </channel>
</rss>