<?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 : Problem using AddImageFromStream</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 : Problem using AddImageFromStream]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 20:04:27 +0000</pubDate>
  <lastBuildDate>Tue, 22 Mar 2016 11:23:40 +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=3287</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[Problem using AddImageFromStream : Hi,thanks for your help! you answer...]]></title>
   <link>http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13084.html#13084</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2848">Brummos</a><br /><strong>Subject:</strong> 3287<br /><strong>Posted:</strong> 22 Mar 16 at 11:23AM<br /><br />Hi,<div><br></div><div>thanks for your help! you answer already helped me since it made me figure out why the stream was wrong.</div><div><br></div><div>the stream was fflled with a pdf and not an image like tiff. as soon as i stored the stream with tiff it started working.</div><div><br></div><div>thanks!</div>]]>
   </description>
   <pubDate>Tue, 22 Mar 2016 11:23:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13084.html#13084</guid>
  </item> 
  <item>
   <title><![CDATA[Problem using AddImageFromStream : perhaps it&amp;#039;s only the stream-position.It...]]></title>
   <link>http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13083.html#13083</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3287<br /><strong>Posted:</strong> 22 Mar 16 at 11:22AM<br /><br />perhaps it's only the stream-position.<div>It have to be set to 0 before.</div><div><br></div><div>Cheers, Ingo</div>]]>
   </description>
   <pubDate>Tue, 22 Mar 2016 11:22:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13083.html#13083</guid>
  </item> 
  <item>
   <title><![CDATA[Problem using AddImageFromStream : Hi Brummos,so the image data isn&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13082.html#13082</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3287<br /><strong>Posted:</strong> 22 Mar 16 at 11:18AM<br /><br />Hi Brummos,<div><br></div><div>so the image data isn't valid.</div><div>It would be more helpful posting the code snippet which builds the stream.</div><div>Perhaps then it's possible to find the error.</div><div>BTW: It's not necessary to insert a first blank page for creation because for first creation a blank page is as default already inside ;-)</div><div><br></div><div>Cheers and welcome here,</div><div>Ingo</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 22 Mar 2016 11:18:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13082.html#13082</guid>
  </item> 
  <item>
   <title><![CDATA[Problem using AddImageFromStream : Hi,I need some help usingAddImageFromStream.At...]]></title>
   <link>http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13081.html#13081</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2848">Brummos</a><br /><strong>Subject:</strong> 3287<br /><strong>Posted:</strong> 22 Mar 16 at 10:36AM<br /><br />Hi,<div><br></div><div>I need some help using&nbsp;AddImageFromStream.</div><div><br></div><div>At the moment i have the following.</div><div><br></div><div><div>&nbsp;PDFLibrary.InsertPages(1, 1);</div><div><span style="line-height: 1.4;">&nbsp;PDFLibrary.SetPageSize('A4');</span></div><div><span style="line-height: 1.4;">&nbsp;imageid := PDFLibrary.AddImageFromStream(IMGStream, 0);</span></div><div>&nbsp;PDFLibrary.SelectImage(imageidd);</div><div>&nbsp;horz := PDFLibrary.ImageWidth;</div><div>&nbsp;vert:= PDFLibrary.ImageHeight;</div><div>&nbsp;PDFLibrary.SetOrigin(1);</div><div>&nbsp;PDFLibrary.DrawImage(0, 0, horz, vert);</div><div>&nbsp;PDFLibrary.ReleaseImage(imageid);</div></div><div><br></div><div>the problem is with "<span style="line-height: 16.8px;">imageid := PDFLibrary.AddImageFromStream(IMGStream, 0);</span><span style="line-height: 1.4;">". It keeps returning 0, so something goes wrong with adding the image. And the result is a blanco pdf file.</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">If i save the stream i get a perfect image, so i assume its correctly inserted into the stream i'm using.</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">Can anyone help me with this?</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">Thanks in advance</span></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 22 Mar 2016 10:36:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-using-addimagefromstream_topic3287_post13081.html#13081</guid>
  </item> 
 </channel>
</rss>