<?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 : How to delete unused images from 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 : How to delete unused images from PDF?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 07 Mar 2026 09:39:05 +0000</pubDate>
  <lastBuildDate>Tue, 23 May 2006 14:01:05 +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=418</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[How to delete unused images from PDF? : It&amp;#039;s also possible to do...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1867.html#1867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 23 May 06 at 2:01PM<br /><br />It's also possible to do this manually, if you're not shy about editing PDF files directly.  You'll need the free pdftk tool.<br /><br />Here's an example:<br /><br />http://www.savefile.com/files.php?fid=1846963<br /><br />1. Uncompress the original PDF using pdftk:<br />&nbsp;&nbsp;&nbsp;&nbsp;pdftk png_example.pdf output step1.pdf uncompress<br /><br />2. Edit step1.pdf (using commandline edit.exe):<br />&nbsp;&nbsp;&nbsp;&nbsp;Find the object of interest, in this case 5 0 obj.<br />&nbsp;&nbsp;&nbsp;&nbsp;Remove all references to this object by deleting the <br />&nbsp;&nbsp;&nbsp;&nbsp;lines associated with it, including:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/XOBJ7BC610 5 0 R<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/XOBJ7BC610 Do<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Everything between the line starting with 5 0 obj<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and endobj<br />&nbsp;&nbsp;&nbsp;&nbsp;Save the edited file to step2.pdf.<br /><br />3. The xref table in step2.pdf is now corrupt, so we need to fix it.  We'll also recompress the PDF:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;pdftk step2.pdf output step3.pdf compress<br /><br />The final file, step3.pdf, is now a valid, compressed PDF, without the unwanted image (we left the text description below the spot where the image was).  We can now use QuickPDF to add a new image in its place.<br />]]>
   </description>
   <pubDate>Tue, 23 May 2006 14:01:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1867.html#1867</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete unused images from PDF? : I bought NitroPDF on sale at Fry&amp;#039;s...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1854.html#1854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 20 May 06 at 3:37PM<br /><br />I bought NitroPDF on sale at Fry's for $49 last week.  Just tried removing an image from a sample PDF, works great!  File size went from 132K to 58K.  <br /><br />Boxed version of NitroPDF was out of date, but updated for free with download version released just two days ago.  Appears to  work well so far...<br />]]>
   </description>
   <pubDate>Sat, 20 May 2006 15:37:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1854.html#1854</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete unused images from PDF? : Have you try an extractpages function...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1853.html#1853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=129">DELBEKE</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 20 May 06 at 3:05AM<br /><br />Have you try an extractpages function after the replacement to create a new Pdf file ?]]>
   </description>
   <pubDate>Sat, 20 May 2006 03:05:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1853.html#1853</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete unused images from PDF? : reply to chicks: I allready tryed...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1852.html#1852</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=366">james.si</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 20 May 06 at 2:41AM<br /><br />reply to chicks: I allready tryed all those things, before I was writing to this forum. I am working on PDF compresion. I replace bmp pictures in PDF with JPG but I can't remove replaced pictures.]]>
   </description>
   <pubDate>Sat, 20 May 2006 02:41:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1852.html#1852</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete unused images from PDF? : Good to know.  Meanwhile, here&amp;#039;s...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1851.html#1851</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 19 May 06 at 3:19PM<br /><br />Good to know.<br /><br />Meanwhile, here's a tool than definitely can remove images:<br /><br />http://www.windjack.com/products/pdfcanopener.html<br /><br />Unfortunately, it also requires Acrobat, so is pretty much out of my price range...<br />]]>
   </description>
   <pubDate>Fri, 19 May 2006 15:19:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1851.html#1851</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete unused images from PDF? : I&#8217;ve tried a number of things...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1850.html#1850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=173">swb1</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 19 May 06 at 3:10PM<br /><br /><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">I’ve tried a number of things to remove image streams from the PDF and I have not found the means within QuickPDF. I have traced the code and it looks to me as though replace image only replaces the reference to the stream not the stream object itself. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>It does not look like it would be an enormous challenge to write a function capable of doing this however there may be ramifications of which I am unaware. </SPAN></P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"></SPAN>&nbsp;</P><P class=Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">sb<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Fri, 19 May 2006 15:10:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1850.html#1850</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete unused images from PDF? : Don&amp;#039;t know for sure, but...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1849.html#1849</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 19 May 06 at 2:41PM<br /><br />Don't know for sure, but here are some things you might try:<br /><br />FindImages() / ReplaceImage().  Might be able to replace a big unused image with a tiny one to save space.<br /><br />DeleteLayer().  Might be able to delete a layer with images, assuming they are on a layer by themselves.<br /><br />CheckObjects().  Documentation just says it checks all objects to see if they're valid.  Doesn't say whether it removes invalid objects, but may be worth a try.<br /><br />I'm still amazed at the number of functions in this library, and haven't used them all by any means.<br />]]>
   </description>
   <pubDate>Fri, 19 May 2006 14:41:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1849.html#1849</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete unused images from PDF? : Is there a possibility to delete...]]></title>
   <link>http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1848.html#1848</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=366">james.si</a><br /><strong>Subject:</strong> 418<br /><strong>Posted:</strong> 19 May 06 at 1:18PM<br /><br />Is there a possibility to delete unused pictures (pictures that are not drawn) from PDF? Please help.]]>
   </description>
   <pubDate>Fri, 19 May 2006 13:18:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/how-to-delete-unused-images-from-pdf_topic418_post1848.html#1848</guid>
  </item> 
 </channel>
</rss>