<?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 : GetImageID not working?</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 : GetImageID not working?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 20:10:31 +0000</pubDate>
  <lastBuildDate>Thu, 21 Feb 2013 20:57:47 +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=2535</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[GetImageID not working? : Changing the content of a ready...]]></title>
   <link>http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10505.html#10505</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2535<br /><strong>Posted:</strong> 21 Feb 13 at 8:57PM<br /><br />Changing the content of a ready made pdf is hard stuff!<br>There will be ways but not with QuickPDF in a comfortable way ;-)<br>You should read the developer guid and the reference guide then you'll know more.<br>The library has many functions for a low cost price.<br>It's a good solution for many issues - for real pdf modifying not.<br><br>Cheers, Ingo<br>]]>
   </description>
   <pubDate>Thu, 21 Feb 2013 20:57:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10505.html#10505</guid>
  </item> 
  <item>
   <title><![CDATA[GetImageID not working? : So ReplaceImage(oldID, newID)...]]></title>
   <link>http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10504.html#10504</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2198">Bjarke</a><br /><strong>Subject:</strong> 2535<br /><strong>Posted:</strong> 21 Feb 13 at 3:08PM<br /><br />So ReplaceImage(oldID, newID) only works with images that you have added to a pdf? Is there really no other way of replacing images already existing in a pdf?]]>
   </description>
   <pubDate>Thu, 21 Feb 2013 15:08:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10504.html#10504</guid>
  </item> 
  <item>
   <title><![CDATA[GetImageID not working? : Yes... Sorry... You&amp;#039;re right.Resizing...]]></title>
   <link>http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10503.html#10503</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2535<br /><strong>Posted:</strong> 20 Feb 13 at 9:36PM<br /><br />Yes... Sorry... You're right.<br>Resizing images in an existing pdf won't work.<br>Getting the data of all images in a pdf is possible.<br>Anywhere (perhaps in the samples-section or an old newsletter) should be a sample.<br><br>Cheers, Ingo<br>]]>
   </description>
   <pubDate>Wed, 20 Feb 2013 21:36:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10503.html#10503</guid>
  </item> 
  <item>
   <title><![CDATA[GetImageID not working? : FindImages returns the number...]]></title>
   <link>http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10502.html#10502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2198">Bjarke</a><br /><strong>Subject:</strong> 2535<br /><strong>Posted:</strong> 20 Feb 13 at 8:23AM<br /><br />FindImages returns the number of images found - how can I access the images and get their ImageID?]]>
   </description>
   <pubDate>Wed, 20 Feb 2013 08:23:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10502.html#10502</guid>
  </item> 
  <item>
   <title><![CDATA[GetImageID not working? : Hi!FindImage you&amp;#039;ll need:...]]></title>
   <link>http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10501.html#10501</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2535<br /><strong>Posted:</strong> 19 Feb 13 at 8:37PM<br /><br />Hi!<br><br>FindImage you'll need:<br>http://www.debenu.com/docs/pdf_library_reference/FindImages.php<br><br>Cheers and welcome here,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Tue, 19 Feb 2013 20:37:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10501.html#10501</guid>
  </item> 
  <item>
   <title><![CDATA[GetImageID not working? : I&amp;#039;m trying to resize all...]]></title>
   <link>http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10498.html#10498</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2198">Bjarke</a><br /><strong>Subject:</strong> 2535<br /><strong>Posted:</strong> 19 Feb 13 at 3:07PM<br /><br />I'm trying to resize all images in a PDF (using the dll-version from c#) and tried to use GetImageID to get the Id of the image that is being replaced. After consulting the manual I found out that GetImageID only returns IDs of images that have been added to the document. But how do you get the ID of an image already existing in the document?<div><br></div><div><br></div><div><br></div><div><pre style="font-size: 13px;"><pre><font face="Courier New, Courier, mono"><span style="color: blue;">for</span>&nbsp;(<span style="color: blue;">int</span>&nbsp;pageIdx&nbsp;=&nbsp;0;&nbsp;pageIdx&nbsp;&lt;&nbsp;qp.PageCount();&nbsp;pageIdx++){&nbsp;&nbsp;&nbsp;qp.SelectPage(pageIdx);&nbsp;&nbsp;&nbsp;<span style="color: blue;">var</span>&nbsp;imageListID&nbsp;=&nbsp;qp.GetPageImageList(0);&nbsp;&nbsp;&nbsp;<span style="color: blue;">for</span>&nbsp;(<span style="color: blue;">int</span>&nbsp;imageIdx&nbsp;=&nbsp;1;&nbsp;imageIdx&nbsp;&lt;=&nbsp;qp.GetImageListCount(imageListID);&nbsp;imageIdx++)&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">var</span>&nbsp;image&nbsp;=&nbsp;<span style="color: blue;">new</span>&nbsp;<span style="color: rgb43, 145, 175;">Bitmap</span>(<span style="color: blue;">new</span>&nbsp;<span style="color: rgb43, 145, 175;">MemoryStream</span>(qp.GetImageListItemDataToString(imageListID,&nbsp;imageIdx,&nbsp;0)));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image&nbsp;=&nbsp;ResizeBitmap(<span style="color: blue;">ref</span>&nbsp;image);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">int</span>&nbsp;oldId&nbsp;=&nbsp;qp.GetImageID(imageIdx);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">int</span>&nbsp;newId&nbsp;=&nbsp;qp.AddImageFromString(ImageToByte(image),&nbsp;0);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qp.ReplaceImage(oldId,&nbsp;newId);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qp.ClearImage(oldId);&nbsp;&nbsp;&nbsp;}}</font></pre></pre></div>]]>
   </description>
   <pubDate>Tue, 19 Feb 2013 15:07:49 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getimageid-not-working_topic2535_post10498.html#10498</guid>
  </item> 
 </channel>
</rss>