<?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 : Wrong image positioning?</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 : Wrong image positioning?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 06:25:54 +0000</pubDate>
  <lastBuildDate>Thu, 24 Mar 2016 17:54:20 +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=3290</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[Wrong image positioning? : Hi Ingo,Normalization worked like...]]></title>
   <link>http://www.quickpdf.org/forum/wrong-image-positioning_topic3290_post13094.html#13094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2851">OloLiuqui</a><br /><strong>Subject:</strong> 3290<br /><strong>Posted:</strong> 24 Mar 16 at 5:54PM<br /><br />Hi Ingo,<div><br></div><div>Normalization worked like a charm! Thanks a lot.</div><div><br></div><div>Best regards,</div><div>Olo</div>]]>
   </description>
   <pubDate>Thu, 24 Mar 2016 17:54:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/wrong-image-positioning_topic3290_post13094.html#13094</guid>
  </item> 
  <item>
   <title><![CDATA[Wrong image positioning? : Hi Olo,if you wanna tell QuickPDF...]]></title>
   <link>http://www.quickpdf.org/forum/wrong-image-positioning_topic3290_post13092.html#13092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3290<br /><strong>Posted:</strong> 24 Mar 16 at 3:31PM<br /><br />Hi Olo,<div><br></div><div>if you wanna tell QuickPDF where to draw an image</div><div>you should tell where the starting point should be.</div><div>With SetOrigin you can do this:</div><div>http://www.debenu.com/docs/pdf_library_reference/SetOrigin.php</div><div>An additional thing you should have an eye on is that sometimes</div><div>pdf-pages are made in portrait mode and later rotated to landscape.</div><div>So a NormalizePage first should be always good:</div><div>http://www.debenu.com/docs/pdf_library_reference/NormalizePage.php</div><div><br></div><div>Cheers and welcome here,</div><div>Ingo</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 24 Mar 2016 15:31:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/wrong-image-positioning_topic3290_post13092.html#13092</guid>
  </item> 
  <item>
   <title><![CDATA[Wrong image positioning? : HiI&amp;#039;m usingDebenu Quick PDF...]]></title>
   <link>http://www.quickpdf.org/forum/wrong-image-positioning_topic3290_post13091.html#13091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2851">OloLiuqui</a><br /><strong>Subject:</strong> 3290<br /><strong>Posted:</strong> 24 Mar 16 at 2:50PM<br /><br /><div>Hi</div><div>I'm using&nbsp;Debenu Quick PDF Library 11.14.&nbsp;</div><div><span style="line-height: 1.4;">I have a Delphi code that injects a raster image to PDF page. It works as expected on most PDFs, but one PDF causes an issue. Here is the code:</span></div><div>---</div><div>&nbsp; PDF := CoPDFLibrary.Create;</div><div>&nbsp; PDF.LoadFromFile('d:\TestDocs\EasyRecovery622 User Guide_EN.pdf', '');</div><div><span style="line-height: 1.4;">&nbsp; PDF.SelectPage(1);</span></div><div><span style="line-height: 1.4;">&nbsp; Height := PDF.PageHeight;</span></div><div>&nbsp; Width := PDF.PageWidth;</div><div>&nbsp; PDF.AddImageFromFile('d:\TestDocs\test.png', 0);</div><div><span style="line-height: 1.4;">&nbsp; ImgHeight := PDF.ImageHeight;</span></div><div>&nbsp; ImgWidth := PDF.ImageWidth;</div><div>&nbsp; PDF.DrawImage(10, Height - 10, ImgWidth, ImgHeight);</div><div><span style="line-height: 1.4;">&nbsp; PDF.SaveToFile('d:\TestDocs\embedded.pdf');</span></div><div>---</div><div>I expect that the image will be embedded at the left top corner of the page and will be fully visible. With the attached PDF I can see only a small part of the image after saving the target 'embedded.pdf' doc. Is it a bug of the library or something is wrong with my source '<span style="line-height: 16.8px;">EasyRecovery622 User Guide_EN.pdf</span><span style="line-height: 1.4;">' doc?</span></div><div><br></div><div>Here is the problem PDF and sample PNG image:<div><div>https://drive.google.com/file/d/0B0r9WqjL12gOZzJYRTdHeDJmSDQ/view?usp=sharing</div></div></div><div><br></div><div>Thank you in advance.</div>]]>
   </description>
   <pubDate>Thu, 24 Mar 2016 14:50:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/wrong-image-positioning_topic3290_post13091.html#13091</guid>
  </item> 
 </channel>
</rss>