<?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 to 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 : Image to PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 05:25:58 +0000</pubDate>
  <lastBuildDate>Tue, 28 Feb 2006 14:08:55 +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=337</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 to PDF : Thanks again. I&amp;#039;ve added...]]></title>
   <link>http://www.quickpdf.org/forum/image-to-pdf_topic337_post1441.html#1441</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=304">skwirelboy</a><br /><strong>Subject:</strong> 337<br /><strong>Posted:</strong> 28 Feb 06 at 2:08PM<br /><br /><P>Thanks again. I've added setOrigin.</P><P>Drawing a scaled image was also failing for me, although I have no idea why. I've changed to DrawImage, but I'm setting the dimensions of the page first so that they match the image dimensions and this seems to do the trick perfectly.</P><P>Many thanks for your help. Don't think I would have got there without it.</P><P>Cheers,</P><P>Mark</P>]]>
   </description>
   <pubDate>Tue, 28 Feb 2006 14:08:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-to-pdf_topic337_post1441.html#1441</guid>
  </item> 
  <item>
   <title><![CDATA[Image to PDF : Try checking ALL return codes...]]></title>
   <link>http://www.quickpdf.org/forum/image-to-pdf_topic337_post1438.html#1438</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 337<br /><strong>Posted:</strong> 28 Feb 06 at 11:12AM<br /><br />Try checking ALL return codes from QP functions, might be something as simple as a mis-typed key, etc.<br /><br />Also, QP has problems with some images, though it's mostly a rendering issue, not embedding, in my experience.<br /><br />Added:<br /><br />Just noticed that you're positioning the image at top,left=1,1.  Note that the origin is the bottom left corner unless you specify otherwise, so your image is probably being embedded, but its top is just at the bottom of the screen.  See the SetOrigin() function.<br /><br /><span style="font-size:10px"><br /><br />Edited by chicks</span>]]>
   </description>
   <pubDate>Tue, 28 Feb 2006 11:12:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-to-pdf_topic337_post1438.html#1438</guid>
  </item> 
  <item>
   <title><![CDATA[Image to PDF : Thanks for reply. I&amp;#039;m actually...]]></title>
   <link>http://www.quickpdf.org/forum/image-to-pdf_topic337_post1436.html#1436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=304">skwirelboy</a><br /><strong>Subject:</strong> 337<br /><strong>Posted:</strong> 28 Feb 06 at 4:28AM<br /><br /><P>Thanks for reply. I'm actually loading from stream, but thought it easier from my example if I showed it as being loaded from file. I've tried selectimage, but still don't seem to be getting anywhere (ie blank pdf, yet roughly same size as the tiff file). My code now is:</P><P>QP := TiSEDQuickPDF.Create;<BR>&nbsp; QP.UnlockKey('&#091;MyKey&#093;');<BR>&nbsp; QP.NewDocument;<BR>&nbsp;&nbsp;QP.SelectPage(0);</P><P>&nbsp;&nbsp;Stream.Position:=0;</P><P>&nbsp; QP.SelectImage(QP.AddImageFromStream(stream, 0));<BR>&nbsp;&nbsp;QP.DrawScaledImage(1, 1, 100);</P><P>&nbsp; QP.SaveToFile('c:\pdf.pdf');</P><P>The stream is initialised although the example doesn't show the code and the stream contains a valid tif (tested at end of process by saving to a file). I'm not sure to what SelectPage should be set (ie whether 0 based index), but I;ve tried both as 0 and 1 and same result.</P><P>Any ideas why the above doesn't work?</P><P>Thanks in advance.</P><P>Mark</P>]]>
   </description>
   <pubDate>Tue, 28 Feb 2006 04:28:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-to-pdf_topic337_post1436.html#1436</guid>
  </item> 
  <item>
   <title><![CDATA[Image to PDF : RTFM  AddImageFromFile() returns...]]></title>
   <link>http://www.quickpdf.org/forum/image-to-pdf_topic337_post1434.html#1434</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 337<br /><strong>Posted:</strong> 27 Feb 06 at 1:51PM<br /><br />RTFM<br /><br />AddImageFromFile() returns an image ID, you then need to use SelectImage() with that ID, finally DrawScaledImage()<br /><br />Also, the second argument to AddImageFromFile() is normally 0, unless dealing with multi-page TIFFs.<br /><br />Your example also shows reading image data from a non-initialized stream.<br />]]>
   </description>
   <pubDate>Mon, 27 Feb 2006 13:51:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-to-pdf_topic337_post1434.html#1434</guid>
  </item> 
  <item>
   <title><![CDATA[Image to PDF : I want to add convert a tiff to...]]></title>
   <link>http://www.quickpdf.org/forum/image-to-pdf_topic337_post1433.html#1433</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=304">skwirelboy</a><br /><strong>Subject:</strong> 337<br /><strong>Posted:</strong> 27 Feb 06 at 1:13PM<br /><br /><P>I want to add convert a tiff to a pdf (ok I guess I'm not converting but just embedding).</P><P>I'm using Delphi and here's what I have so far:</P><P>&nbsp; QP := TiSEDQuickPDF.Create;<BR>&nbsp; QP.UnlockKey('&#091;MyKey&#093;');<BR>&nbsp; QP.NewDocument;<BR>&nbsp; QP.AddImageFromFile(dlg1.filename, 1);<BR>&nbsp;&nbsp;QP.SelectPage(0);<BR>&nbsp;&nbsp;QP.AddImageFromStream(stream, 0);<BR>&nbsp;&nbsp;QP.DrawScaledImage(1, 1, 100);</P><P>qp.SaveToFile('c:\pdf.pdf');</P><P>This is as far as I've got. I have a saved file which is roughly the size of the image I'm inserting, but when you open it it is blank. I've tried setting selectPage to 1 as well as 0, but to no avail.</P><P>If anyone can give me any pointers I'd be much obliged.</P><P>&nbsp;</P><P>Thanks, </P><P>&nbsp;</P><P>Mark</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 27 Feb 2006 13:13:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-to-pdf_topic337_post1433.html#1433</guid>
  </item> 
 </channel>
</rss>