<?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 : Image doesn&#039;t add for each pdf-file</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 : Image doesn&#039;t add for each pdf-file]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:33:52 +0000</pubDate>
  <lastBuildDate>Wed, 06 May 2015 08:30:10 +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=3107</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[Image doesn&#039;t add for each pdf-file : Andrew, thank you for answering....]]></title>
   <link>http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12479.html#12479</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2729">Damir</a><br /><strong>Subject:</strong> 3107<br /><strong>Posted:</strong> 06 May 15 at 8:30AM<br /><br />Andrew, thank you for answering. I'll test "Image...Resolution" method in my code. I really have a trouble with "strange results", wich I get via "ImageWidth(Height)" method. Thank you for example too]]>
   </description>
   <pubDate>Wed, 06 May 2015 08:30:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12479.html#12479</guid>
  </item> 
  <item>
   <title><![CDATA[Image doesn&#039;t add for each pdf-file : Damir,The ImageWidth and ImageHeight...]]></title>
   <link>http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12478.html#12478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 3107<br /><strong>Posted:</strong> 06 May 15 at 8:18AM<br /><br />Damir,<div><br></div><div>The ImageWidth and ImageHeight functions return the width and height of the image in pixels.</div><div><br></div><div>To get the DPI of an image you need to use ImageHorizontalResolution and ImageVerticalResolution. &nbsp;With these values you can calculate the true width and height of the image if drawn at a 1:1 ratio.</div><div><br></div><div>This is important because all of the Drawing functions are specified using the current measurement system set which could be points, mm or inches. &nbsp;Using the pixel width / height returned by ImageWidth / ImageHeight will result in possibly strange results.&nbsp;</div><div><br></div><div>This is why you are forced to use w/2 and h/2 in order to get a smaller image.</div><div><br></div><div>Here is the correct code to add and draw an image at a 1:1 ratio.</div><div><br></div><div>http://www.quickpdf.org/forum/creating-a-multi-page-pdf-from-a-multipage-tiff_topic2125.html</div><div><br></div><div>Andrew</div>]]>
   </description>
   <pubDate>Wed, 06 May 2015 08:18:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12478.html#12478</guid>
  </item> 
  <item>
   <title><![CDATA[Image doesn&#039;t add for each pdf-file : Edited. I solved the problem....]]></title>
   <link>http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12457.html#12457</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2729">Damir</a><br /><strong>Subject:</strong> 3107<br /><strong>Posted:</strong> 27 Apr 15 at 6:55PM<br /><br />Edited. I solved the problem. I type the coordinates incorrect.<span style="font-size:10px"><br /><br />Edited by Damir - 27 Apr 15 at 7:02PM</span>]]>
   </description>
   <pubDate>Mon, 27 Apr 2015 18:55:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12457.html#12457</guid>
  </item> 
  <item>
   <title><![CDATA[Image doesn&#039;t add for each pdf-file : You may want to edit your post...]]></title>
   <link>http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12456.html#12456</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2631">erico</a><br /><strong>Subject:</strong> 3107<br /><strong>Posted:</strong> 27 Apr 15 at 6:25PM<br /><br />You may want to edit your post and remove your license key.<br>]]>
   </description>
   <pubDate>Mon, 27 Apr 2015 18:25:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12456.html#12456</guid>
  </item> 
  <item>
   <title><![CDATA[Image doesn&#039;t add for each pdf-file : Hi, experts!I use the next code...]]></title>
   <link>http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12453.html#12453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2729">Damir</a><br /><strong>Subject:</strong> 3107<br /><strong>Posted:</strong> 26 Apr 15 at 2:00PM<br /><br />Hi, experts!<div><br></div><div>I use the next code (VBScript) to add image inside the pdf-file:</div><div><br></div><div><div><i>Dim ClassName</i></div><div><i>Dim LicenseKey</i></div><div><i>Dim FileName</i></div><div><i><br></i></div><div><i>ClassName = "DebenuPDFLibrary64AX1114.PDFLibrary"</i></div><div><i>LicenseKey = "****" ' INSERT LICENSE KEY HERE</i></div><div><i>FileName = "C:\Users\damir\Downloads\111\22.pdf"</i></div><div><i>Pic = "C:\Users\damir\Downloads\111\sign.png"</i></div><div><i><br></i></div><div><i>Dim DPL</i></div><div><i>Dim Result</i></div><div><i><br></i></div><div><i>Set DPL = CreateObject(ClassName)</i></div><div><i>Result = DPL.UnlockKey(LicenseKey)</i></div><div><i><br></i></div><div><i>If Result = 1 Then</i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>DPL.LoadFromFile FileName , ""</i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>d = DPL.AddImageFromFile(Pic, 0)</i></div><div><i><br></i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>lWidth = DPL.ImageWidth</i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>lHeight = DPL.ImageHeight</i></div><div><i><br></i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>Call DPL.SelectPage(1)</i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>h = DPL.PageHeight</i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>w = DPL.PageWidth</i></div><div><span ="apple-tab-span"="" style="white-space:pre"><i>	</i></span></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>Call DPL.DrawImage(w/2, h/2, lWidth, lHeight)</i></div><div><i>&nbsp;</i></div><div><i><span ="apple-tab-span"="" style="white-space:pre">	</span>Call DPL.SaveToFile("C:\Users\damir\Downloads\111\SignedFile.pdf")</i></div><div><i><br></i></div><div><i>End If</i></div><div><i>Set DPL = Nothing</i></div></div><div><i><br></i></div><div>It's works great, but not for each pdf-file. I can understand the reason. The string <i>"<span style="line-height: 16.7999992370605px;">d = DPL.AddImageFromFile(Pic, 0)</span></i><span style="line-height: 1.4;"><i>"</i> doesn't return me "0"&nbsp;</span><b style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16.0030002593994px;">Non-zero</b><span style="line-height: 1.4;">, so it looks like imade adding works. Maybe the reason it's a lot of layouts. Maybe image is under the layout.</span></div><div><span style="line-height: 1.4;">Please help me!</span></div><div><a href="https://drive.google.com/open?id=0B7WQynP0e6CrUi1WRTQ4VmM1WDg&amp;authuser=0" target="_blank" rel="nofollow">https://drive.google.com/open?id=0B7WQynP0e6CrR1JkVUFmOFloRHc&amp;authuser=0</a></div><div><a href="https://drive.google.com/open?id=0B7WQynP0e6CrR1JkVUFmOFloRHc&amp;authuser=0" target="_blank" rel="nofollow">https://drive.google.com/open?id=0B7WQynP0e6CrUi1WRTQ4VmM1WDg&amp;authuser=0</a></div><div><a href="https://drive.google.com/open?id=0B7WQynP0e6CrVmFXelFrSzA2Nzg&amp;authuser=0" target="_blank" rel="nofollow">https://drive.google.com/open?id=0B7WQynP0e6CrVmFXelFrSzA2Nzg&amp;authuser=0</a></div><div id="gtx-trans" style=": ; left: 254px; top: 163px;"><div ="gtx-trans-ic&#111;n"></div></div><span style="font-size:10px"><br /><br />Edited by Damir - 27 Apr 15 at 6:55PM</span>]]>
   </description>
   <pubDate>Sun, 26 Apr 2015 14:00:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-doesnt-add-for-each-pdffile_topic3107_post12453.html#12453</guid>
  </item> 
 </channel>
</rss>