<?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 : RenderPageToFile problem with an image</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 : RenderPageToFile problem with an image]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 20 Jun 2026 08:35:05 +0000</pubDate>
  <lastBuildDate>Tue, 28 Apr 2020 17:17:07 +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=3806</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[RenderPageToFile problem with an image : The main prob with the confused...]]></title>
   <link>http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15221.html#15221</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3806<br /><strong>Posted:</strong> 28 Apr 20 at 5:17PM<br /><br />The main prob with the confused image objects after rendering with a new dpi value still exists.<br>The blank page while rendering via PDFium to an imagefile with QP 17.11 is solved while using the old version 14.11 ;-)<br><br>]]>
   </description>
   <pubDate>Tue, 28 Apr 2020 17:17:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15221.html#15221</guid>
  </item> 
  <item>
   <title><![CDATA[RenderPageToFile problem with an image : a sample gives me a rendered jpg-file...]]></title>
   <link>http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15217.html#15217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3806<br /><strong>Posted:</strong> 23 Apr 20 at 11:03PM<br /><br />a sample gives me a rendered jpg-file with 134 kb and a blank page.<br>If i resave it with IrfanView then i've a jpg with only 51 kb (i think better compression with only white pixels).<br>So i think in the initial blank image there is something unvisible?<br><br>&nbsp;<br>]]>
   </description>
   <pubDate>Thu, 23 Apr 2020 23:03:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15217.html#15217</guid>
  </item> 
  <item>
   <title><![CDATA[RenderPageToFile problem with an image : If i&amp;#039;m doing only a preview...]]></title>
   <link>http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15216.html#15216</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3806<br /><strong>Posted:</strong> 23 Apr 20 at 10:54PM<br /><br />If i'm doing only a preview on an image component then it works fine and the graphical elements from the invoice are always on the right position and it doesn't matter which zoom factor (dpi) i'm using:<br><br>procedure TForm11.SpeedButton1Click(Sender: TObject);<br>var ms&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : TMemoryStream;<br>&nbsp;&nbsp;&nbsp; jpg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : TJPEGImage;<br>&nbsp;&nbsp;&nbsp; test_stream : TMemoryStream;<br>begin<br>&nbsp;&nbsp; if ( zoom &lt; 300 ) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zoom := zoom + 10;<br>&nbsp;&nbsp; QP&nbsp; := TDebenuPDFLibrary1211.Create;<br>&nbsp;&nbsp; try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.LoadFromFile(Edit1.text, ''); <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If ( QP.EncryptionStatus &gt; 0 ) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.Decrypt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.CombineContentStreams;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test_stream := TMemoryStream.Create;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.RenderPageToStream(zoom,page,1,test_stream);<br>&nbsp;&nbsp; finally<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.Free;<br>&nbsp;&nbsp; end;<br>&nbsp;&nbsp; try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test_stream.Seek(0,0);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jpg := TJPEGImage.Create;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jpg.LoadFromStream (test_stream);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Form11.Image1.Picture.Assign(jpg);<br>&nbsp;&nbsp; finally<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test_stream.Free;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jpg.Free;<br>&nbsp;&nbsp; end;<br>end;<br><br>]]>
   </description>
   <pubDate>Thu, 23 Apr 2020 22:54:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15216.html#15216</guid>
  </item> 
  <item>
   <title><![CDATA[RenderPageToFile problem with an image : Hi,Now i&amp;#039;ve linked to PDFium.I&amp;#039;ve...]]></title>
   <link>http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15213.html#15213</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3806<br /><strong>Posted:</strong> 22 Apr 20 at 10:16PM<br /><br />Hi,<br><br>Now i've linked to PDFium.<br>I've downloaded the dll from github.<br>The dll is in my app-path.<br>Variable selren shows me a 4 - so PDFium is selected.<br>If i set 72 as dpi the resulting image is 9 kb but it's completely blank/white.<br>If i set 200 as dpi the resulting image is 61 kb but it's completely blank/white.<br><br><br>&nbsp; QP := TDebenuPDFLibrary1711.Create;<br>&nbsp; try<br>&nbsp;&nbsp;&nbsp; okay := QP.LoadFromFile(FName, '');<br><br>&nbsp;&nbsp;&nbsp; QP.SetPDFiumFileName('pdfium.dll');<br>&nbsp;&nbsp;&nbsp; selren := QP.SelectRenderer(4);<br><br>//&nbsp; ShowMessage(IntToStr(selren));<br><br>&nbsp;&nbsp;&nbsp; If QP.EncryptionStatus &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.Decrypt;<br>&nbsp;&nbsp;&nbsp; QP.CombineContentStreams;<br>&nbsp;&nbsp;&nbsp; QP.NormalizePage(0);<br><br>&nbsp;&nbsp;&nbsp; Try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result := QP.RenderDocumentToFile(dpi, 1, 1, 1, Pchar(target));<br>//&nbsp;&nbsp;&nbsp; ShowMessage(IntToStr(QP.LastErrorCode) + ' / ' + IntToStr(result));<br>&nbsp;&nbsp;&nbsp; Finally<br>&nbsp;&nbsp;&nbsp; End;<br><br>&nbsp; finally<br>&nbsp;&nbsp;&nbsp; if (QP.PageCount &gt; 0) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.Free;<br>&nbsp; end;<br><br>]]>
   </description>
   <pubDate>Wed, 22 Apr 2020 22:16:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15213.html#15213</guid>
  </item> 
  <item>
   <title><![CDATA[RenderPageToFile problem with an image : Hi,i&amp;#039;ve changed the code...]]></title>
   <link>http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15212.html#15212</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3806<br /><strong>Posted:</strong> 22 Apr 20 at 9:35PM<br /><br />Hi,<br><br>i've changed the code to RenderPageToStream but with no success.<br>I'll try using PDFium...<br><br><br>]]>
   </description>
   <pubDate>Wed, 22 Apr 2020 21:35:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15212.html#15212</guid>
  </item> 
  <item>
   <title><![CDATA[RenderPageToFile problem with an image : Have you tried a different renderer,...]]></title>
   <link>http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15210.html#15210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 3806<br /><strong>Posted:</strong> 22 Apr 20 at 7:34PM<br /><br />Have you tried a different renderer, or PDFIUM?&nbsp; What happens if you try converting it to image in some other PDF utility, just for comparison purposes - do they also get it wrong?]]>
   </description>
   <pubDate>Wed, 22 Apr 2020 19:34:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15210.html#15210</guid>
  </item> 
  <item>
   <title><![CDATA[RenderPageToFile problem with an image : Hi :) now i&amp;#039;m &amp;#034;on the...]]></title>
   <link>http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15209.html#15209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3806<br /><strong>Posted:</strong> 21 Apr 20 at 10:09PM<br /><br />Hi :) <br><br>now i'm "on the other side" - hoping there's somebody out there to help ;-)<br>I have invoices made by HP Exstream, PDF version 1.3, no encryption.<br>On each page there's a coloured logo in the top area.<br>If i render a page with 72 dpi to jpg the logo remains in the top area of the created image.<br>If i render the same page with 100 dpi to jpg the logo is in the bottom area of the created image.<br>If i render the same page with 150 dpi to jpg the logo is in the middle of the created image.<br>With 300 dpi the logo is between middle and top...<br>I can't separate or extract this logo as an image nor i can separate it on a single layer.<br><br>First i've thought: No problem... CombineContentStreams and NormalizePage will fix it.<br>But both functions are without any effects :(<br><br>After LoadFromFile i'm doing:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If QP.EncryptionStatus &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.Decrypt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.SetOrigin(1);&nbsp; //&nbsp; oben, links<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.CombineContentStreams;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.NormalizePage(0);<br><br>I'm using QuickPDF 17.11 with Delphi XE5.<br>My project is compiled as 32 bit.<br><br>I can't publish the relevant invoices cause they are from a customer.<br><br><span style="font-size:10px"><br /><br />Edited by Ingo - 21 Apr 20 at 10:11PM</span>]]>
   </description>
   <pubDate>Tue, 21 Apr 2020 22:09:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderpagetofile-problem-with-an-image_topic3806_post15209.html#15209</guid>
  </item> 
 </channel>
</rss>