<?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 : Remove pictures from exisiting PDF file</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 : General Discussion : Remove pictures from exisiting PDF file]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 08:29:05 +0000</pubDate>
  <lastBuildDate>Tue, 03 Dec 2013 06:08:50 +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=2791</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[Remove pictures from exisiting PDF file : Zeras,FindImages will find the...]]></title>
   <link>http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11367.html#11367</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2791<br /><strong>Posted:</strong> 03 Dec 13 at 6:08AM<br /><br /><div>Zeras,</div><div><br></div>FindImages will find the Image Resources list for the entire PDF file. &nbsp;It is a list of images. &nbsp;These images can be drawn on to multiple pages and at multiple locations multiple times. &nbsp;This allows PDF files to be smaller by sharing resources. &nbsp;Font's can work in a similar way. &nbsp;FindImages cannot report a page number because the image is just stored ready to be drawn.<div><br></div><div>So if you have Image1 in the list and it is drawn on Page 1 and Page 2 but you only want it deleted from Page1 then you will be out of luck with this approach. &nbsp;</div><div><br></div><div>You can use a different set of QPL functions which will tell you where each image is draw and on what page. &nbsp;You can also the get the ImageID and then call ClearImage. &nbsp;If the image is shared though on page 1 and page 2 then the image will be cleared from both pages.</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.LoadFromFile("99pages.pdf", "");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SelectPage(1);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int id = QP.GetPageImageList(0); &nbsp;<span style="line-height: 1.4;">&nbsp;</span><span style="line-height: 1.4;">&nbsp; // Only finds images on the current page.</span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int count = QP.GetImageListCount(id);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 1; i &lt;= count; i++)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int type = QP.GetImageListItemIntProperty(id, i, 400);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int width = QP.GetImageListItemIntProperty(id, i, 401);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int height = QP.GetImageListItemIntProperty(id, i, 402);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int bpp = QP.GetImageListItemIntProperty(id, i, 403);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int cs = QP.GetImageListItemIntProperty(id, i, 404);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int ImageId = QP.GetImageListItemIntProperty(id, i, 405);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (width == 200)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.ClearImage(ImageId);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div></div><div><br></div><div><br></div><div>Andrew</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 03 Dec 2013 06:08:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11367.html#11367</guid>
  </item> 
  <item>
   <title><![CDATA[Remove pictures from exisiting PDF file : Thanks, that works.Problem is,...]]></title>
   <link>http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11366.html#11366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2452">zeras</a><br /><strong>Subject:</strong> 2791<br /><strong>Posted:</strong> 02 Dec 13 at 7:15PM<br /><br />Thanks, that works.<br>Problem is, that I don't want to delet all pictures. Can I get page number of picture first, so that I can decide to delete or not?<br>]]>
   </description>
   <pubDate>Mon, 02 Dec 2013 19:15:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11366.html#11366</guid>
  </item> 
  <item>
   <title><![CDATA[Remove pictures from exisiting PDF file : You need to use the FindImages(),...]]></title>
   <link>http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11363.html#11363</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2791<br /><strong>Posted:</strong> 01 Dec 13 at 5:34AM<br /><br /><div>You need to use the FindImages(), ImageCount(), GetImageID() and ClearImage() functions.</div><div><br></div><div>ClearImage() will replace the image with a 1x1 single transparent pixel.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Sun, 01 Dec 2013 05:34:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11363.html#11363</guid>
  </item> 
  <item>
   <title><![CDATA[Remove pictures from exisiting PDF file : We have a large pdf file with...]]></title>
   <link>http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11362.html#11362</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2452">zeras</a><br /><strong>Subject:</strong> 2791<br /><strong>Posted:</strong> 28 Nov 13 at 7:26PM<br /><br />We have a large pdf file with many pictures and respective text for these pictures. For one reason, we don't need pictures inside pdf file.<br>Therefore question, whether it's possible to delete picture within pdf file to decrease file size of pdf file.<br>Or any other idea?<br>Replace pictures by dummy or decrease resolution of pictures?<br>]]>
   </description>
   <pubDate>Thu, 28 Nov 2013 19:26:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/remove-pictures-from-exisiting-pdf-file_topic2791_post11362.html#11362</guid>
  </item> 
 </channel>
</rss>