<?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 : Multiple Images into PDF</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 : Multiple Images into PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 16:42:21 +0000</pubDate>
  <lastBuildDate>Tue, 05 Feb 2008 02:39:59 +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=863</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[Multiple Images into PDF : Ok, do I feel stupid. The reason...]]></title>
   <link>http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4129.html#4129</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=794">dblwizard</a><br /><strong>Subject:</strong> 863<br /><strong>Posted:</strong> 05 Feb 08 at 2:39AM<br /><br />Ok, do I feel stupid.&nbsp; The reason that the above code did not work was because the array of filename that I had a leading space on all of the filenames after the first one.&nbsp; Thus the first file was processed fine but anything after that got an error.<br><br>So just note that you can't pass in a file name with a leading space on it.<br><br>Thanks<br><br>dbl<br>]]>
   </description>
   <pubDate>Tue, 05 Feb 2008 02:39:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4129.html#4129</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Images into PDF : Howdy again,I have done a little...]]></title>
   <link>http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4126.html#4126</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=794">dblwizard</a><br /><strong>Subject:</strong> 863<br /><strong>Posted:</strong> 25 Jan 08 at 10:54AM<br /><br />Howdy again,<br><br>I have done a little more research and found some odd things.&nbsp; This code works for v4.42.1.1 when adding a single page.&nbsp; Blank pages are added for each additional page but the AddFileFromTiff returns 0.<br><br>With v5.22.0.145 I get the same behavior in code but the resulting image gives a "Insufficient data for an image" and the file has 3 blank pages in it.<br><br>Thanks<br><br>dbl<br>]]>
   </description>
   <pubDate>Fri, 25 Jan 2008 10:54:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4126.html#4126</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Images into PDF : Howdy,Sorry I didn&amp;#039;t make...]]></title>
   <link>http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4125.html#4125</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=794">dblwizard</a><br /><strong>Subject:</strong> 863<br /><strong>Posted:</strong> 25 Jan 08 at 10:14AM<br /><br />Howdy,<br><br>Sorry I didn't make&nbsp; it clear what I am doing.&nbsp; The asFileNamesTiffA is an array of single page tiffs.&nbsp; So what I am trying to do is load one page from each file into the PDF.<br><br>That is why I only have the one loop.&nbsp; The code I have there works the first time through the loop but the second time through the loop AddImageFromFile returns 0.&nbsp; I have even changed the order of the files in the array to make sure their wasn't really a problem with the Tiff file that its trying to load the second time threw.<br><br>Does that clarify things a little bit?<br><br>Thanks<br><br>dbl<br>]]>
   </description>
   <pubDate>Fri, 25 Jan 2008 10:14:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4125.html#4125</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Images into PDF : Hi!If you use lRC = objQPDF.Ad...]]></title>
   <link>http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4124.html#4124</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 863<br /><strong>Posted:</strong> 25 Jan 08 at 4:20AM<br /><br />Hi!<br><br>If you use <br>lRC = objQPDF.AddImageFromFile(asFileNamesTiffA(i), 0)<br>you'll get only the first image... 'cause you set a fix "0".<br><br>If you're using tiff-files you should use something similar to:<br>tiffmax = GetImagePageCount(tiff-filename)<br>to see how many images are in your tiff.<br>Then you can initiate a new loop to add each internal image.<br>It should look similar to this non-language-syntax:<br>for i1 = 1 to filemax<br>//Create a new pdf-document...<br>if it's a tiff-file<br>tiffmax = GetImagePageCount(filename(i1))<br>for i2 = 1 to tiffmax<br>//Create a new pdf-document or a new page...<br>AddImageFromFile(filename(i1),i2)<br>next i2<br>endif<br>if it's no tiff-file<br>AddImageFromFile(filename(i1),0)<br>endif<br>next i1<br><br><br>Best regards,<br>Ingo<br>]]>
   </description>
   <pubDate>Fri, 25 Jan 2008 04:20:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4124.html#4124</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Images into PDF : Howdy All,I am trying to add multiple...]]></title>
   <link>http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4123.html#4123</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=794">dblwizard</a><br /><strong>Subject:</strong> 863<br /><strong>Posted:</strong> 25 Jan 08 at 3:40AM<br /><br />Howdy All,<br><br>I am trying to add multiple tiff images to a single PDF.&nbsp; I have been able to use the AddImageFromFile to add a single image to a PDF but can not seem to make it work for multiple.&nbsp; Can somebody point me in the right direction?&nbsp; I am using version 5.22.0.145 with vb6.<br><br>&nbsp;&nbsp; Set objQPDF = New iSED.QuickPDF<br>&nbsp;&nbsp; lRC = objQPDF.CompressImages(1)<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; For i = LBound(asFileNamesTiffA) To UBound(asFileNamesTiffA)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If i = LBound(asFileNamesTiffA) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRC = objQPDF.NewDocument<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRC = objQPDF.NewPage<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRC = objQPDF.SelectPage(lRC)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRC = objQPDF.AddImageFromFile(asFileNamesTiffA(i), 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lRC &lt;&gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objQPDF.SetMeasurementUnits (2)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objQPDF.SetOrigin (1)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dHeight = objQPDF.ImageHeight / objQPDF.ImageVerticalResolution<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dWidth = objQPDF.ImageWidth / objQPDF.ImageHorizontalResolution<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRC = objQPDF.SetPageDimensions(dWidth, dHeight)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRC = objQPDF.FitImage(0, 0, dWidth, dHeight, 1, 1, 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRC = objQPDF.CompressContent()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; Next i<br><br>Thanks<br><br>dbl<br>]]>
   </description>
   <pubDate>Fri, 25 Jan 2008 03:40:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/multiple-images-into-pdf_topic863_post4123.html#4123</guid>
  </item> 
 </channel>
</rss>