<?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 : RenderDocumentToFile with transparent images</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 : RenderDocumentToFile with transparent images]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 19 May 2026 04:28:58 +0000</pubDate>
  <lastBuildDate>Mon, 06 Jan 2020 08:36: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=3773</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[RenderDocumentToFile with transparent images : QuickPDF embeds several image-/render...]]></title>
   <link>http://www.quickpdf.org/forum/renderdocumenttofile-with-transparent-images_topic3773_post15067.html#15067</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3773<br /><strong>Posted:</strong> 06 Jan 20 at 8:36AM<br /><br /><div>QuickPDF embeds several image-/render libraries for rendering.</div><div>These libraries themself are offering a lot of more functionalities - your transparency-options as well. <br></div><div>QuickPDF is for pdf - Render libraries are more for images ;-)</div><div>The described special needs you won't feed with the actual version of QuickPDF.</div><div>For this issue you should dive deeper into the libraries like Cairo, PDFium, GDI+ or AGG.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 06 Jan 2020 08:36:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderdocumenttofile-with-transparent-images_topic3773_post15067.html#15067</guid>
  </item> 
  <item>
   <title><![CDATA[RenderDocumentToFile with transparent images : I originally posted same topic...]]></title>
   <link>http://www.quickpdf.org/forum/renderdocumenttofile-with-transparent-images_topic3773_post15066.html#15066</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3169">bbenc</a><br /><strong>Subject:</strong> 3773<br /><strong>Posted:</strong> 06 Jan 20 at 6:01AM<br /><br /><div>I originally posted same topic but it hasn't been resolved and my trial expires soon and I need to know if this product will meet my needs (hence the new post):</div><div><br></div><div>I am trying to add a watermark (transparent image) to a image file. Below is some basic code to show that you can create a pdf with watermarks but using the same code it does not produce the same results when creating an image file (.SaveToFile vs .RenderDocumentToFile). The image file (.RenderDocumentToFile) only shows the overlaid image with 0 transparency.</div><div><br></div><div>Can anyone please help me create an image file with transparent images?</div><div><br></div><div>&nbsp; &nbsp; strImportFolder = "E:\FOXIT\Testing"<br>&nbsp;&nbsp;&nbsp; strImportFile = "IMG_3560"<br>&nbsp;&nbsp;&nbsp; strImportFileExt = "jpg"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; strWMFolder = "E:\FOXIT\Testing"<br>&nbsp;&nbsp;&nbsp; strWMFile = "TestWM"<br>&nbsp;&nbsp;&nbsp; strWMFileExt = "jpg"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; strExportFolder = "E:\FOXIT\Testing\"<br>&nbsp;&nbsp;&nbsp; strExportFile = "Image_3560"<br>&nbsp;&nbsp;&nbsp; strExportFileExt = "jpg"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; dblPage = 1<br>&nbsp;&nbsp;&nbsp; dblTransparency = 90<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set objPDF = CreateObject(gcstrPDFLibrary)<br>&nbsp;&nbsp;&nbsp; If objPDF.UnlockKey(gcstrPDFLicense) = 1 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call objPDF.AddImageFromFile(strImportFolder &amp; "\" &amp; strImportFile &amp; "." &amp; strImportFileExt, 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dblWidth = objPDF.ImageWidth()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dblHeight = objPDF.ImageHeight()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SetPageDimensions(dblWidth, dblHeight)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.DrawImage(0, dblHeight, dblWidth, dblHeight)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SelectPage(dblPage)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.NormalizePage(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SetOrigin(1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dblContentStream = objPDF.NewContentStream<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SelectContentStream(dblContentStream)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SaveState<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dblWMImageID = objPDF.AddImageFromFile(strWMFolder &amp; "\" &amp; strWMFile &amp; "." &amp; strWMFileExt, 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SelectImage(dblWMImageID)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SetTransparency(dblTransparency)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.DrawImage(0, 0, objPDF.PageWidth, objPDF.PageHeight)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.LoadState<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.MoveContentStream(dblContentStream, objPDF.ContentStreamCount)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call objPDF.CombineContentStreams<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.SaveToFile(strExportFolder &amp; "\" &amp; strExportFile &amp; ".pdf")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = objPDF.RenderDocumentToFile(300, 1, 1, 1, strExportFolder &amp; "\" &amp; strExportFile &amp; "." &amp; strExportFileExt)<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; Set objPDF = Nothing<br></div><span style="font-size:10px"><br /><br />Edited by bbenc - 06 Jan 20 at 6:11AM</span>]]>
   </description>
   <pubDate>Mon, 06 Jan 2020 06:01:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/renderdocumenttofile-with-transparent-images_topic3773_post15066.html#15066</guid>
  </item> 
 </channel>
</rss>