<?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 : delete blank pdf-pages</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 : delete blank pdf-pages]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 00:18:24 +0000</pubDate>
  <lastBuildDate>Thu, 07 Nov 2019 06:41:10 +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=3759</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[delete blank pdf-pages : thank you guys, this helps a lot!!...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15017.html#15017</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3144">hjerteblod</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 07 Nov 19 at 6:41AM<br /><br />thank you guys, this helps a lot!!<br>]]>
   </description>
   <pubDate>Thu, 07 Nov 2019 06:41:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15017.html#15017</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : Hi,Tim pushed you in the right...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15016.html#15016</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 06 Nov 19 at 7:21PM<br /><br />Hi,<br><br>Tim pushed you in the right direction.<br>Here's a part from a loop to show you how to extract embedded images from a pdf-document page by page (in Pascal/Delphi):<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for i2 := 1 to pagecount do //<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iref := QP.SelectPage(i2);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ilst := QP.GetPageImageList(iref);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; icnt := QP.GetImageListCount(ilst);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for i3 := 1 to icnt do<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_imtype := QP.GetImageListItemIntProperty(ilst, i3, 400);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( lv_imtype &gt; 4 ) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_type := '.jpg';<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( lv_imtype = 1 ) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_type := '.jpg';<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( lv_imtype = 2 ) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_type := '.bmp';<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( lv_imtype = 3 ) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_type := '.tif';<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( lv_imtype = 4 ) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_type := '.png';<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_width&nbsp; := IntToStr(QP.GetImageListItemIntProperty(ilst, i3, 401));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_height := IntToStr(QP.GetImageListItemIntProperty(ilst, i3, 402));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_bpp&nbsp;&nbsp;&nbsp; := IntToStr(QP.GetImageListItemIntProperty(ilst, i3, 403)); // BitsPerPixel<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_cst&nbsp;&nbsp;&nbsp; := IntToStr(QP.GetImageListItemIntProperty(ilst, i3, 404)); // ColorSpaceType<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_imguid := IntToStr(QP.GetImageListItemIntProperty(ilst, i3, 406)); // Constant Image ID<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( Trim(lv_imguid) = '' ) or<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( Trim(lv_imguid) = '0') then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_imguid := IntToStr(QP.GetImageListItemIntProperty(ilst, i3, 405)); // Image ID<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lv_imagefile := target + ExtractFileName(System.Copy(ws,1,Length(ws)-4)) + '-' + IntToStr(i2) + '-' + IntToStr(i3) + '-' + lv_type;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.SaveImageListItemDataToFile(ilst, i3, 0, lv_imagefile);<br><br>]]>
   </description>
   <pubDate>Wed, 06 Nov 2019 19:21:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15016.html#15016</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : Have you looked at GetPageImageList,...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15015.html#15015</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 06 Nov 19 at 12:07PM<br /><br />Have you looked at GetPageImageList, and then if there is one, GetImageListCount? And then get the image ID using GetImageListItemProperty? I have not used these functions myself, but they should allow you to work out which page(s) the images you counted with ImageCount are on. The internal structure of a PDF is not designed to be easy to walk around in!<br>]]>
   </description>
   <pubDate>Wed, 06 Nov 2019 12:07:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15015.html#15015</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : hey guys,so far almost everything...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15014.html#15014</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3144">hjerteblod</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 06 Nov 19 at 7:58AM<br /><br /><div>hey guys,</div><div>so far almost everything works as wished. But one problem is left. I get the number of images (QP.ImageCount()) and the text (QP.GetPageText(0) to filter the blank pages. Now I have the problem that blank pages are not recognized as blank, instead 2 pictures are recognized.</div><div><br></div><div>If my text is not searchable (non-OCR), it will be recognized as an image. Therefore, I can not distinguish whether it is currently a blank page on which non-existing images are detected, or if it is not searchable text that should not be deleted.</div><div><br></div><div>I find this problem unsolvable, but I still wanted to try to present it here.<br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 06 Nov 2019 07:58:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15014.html#15014</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : yes you are right, I missed the...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15013.html#15013</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3144">hjerteblod</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 05 Nov 19 at 1:06PM<br /><br />yes you are right, I missed the savetofile <img src="http://www.quickpdf.org/forum/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" /> <br>]]>
   </description>
   <pubDate>Tue, 05 Nov 2019 13:06:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15013.html#15013</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : I assume that what is shown above...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15012.html#15012</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 05 Nov 19 at 12:55PM<br /><br />I assume that what is shown above is just an outline of your real code, omitting all the checks you are doing and error handling. Does the list above also omit a QP.SaveToFile which is in your real code, or is that omission the cause of the pages appearing not to be deleted?<br>]]>
   </description>
   <pubDate>Tue, 05 Nov 2019 12:55:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15012.html#15012</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : So far, everything works, as I...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15011.html#15011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3144">hjerteblod</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 05 Nov 19 at 9:40AM<br /><br /><div>So far, everything works, as I wish. However, it does not delete pages when I write the code for it. And there is no error message.</div><div><br></div><div><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim openFileDialog1 As New OpenFileDialog()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim result As String<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If openFileDialog1.ShowDialog = DialogResult.OK Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result = openFileDialog1.FileName<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.LoadFromFile(result, "")</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.HasFontResources()</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.GetPageImageList(0)</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.FindImages())<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.ImageCount())&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.DeletePages(2, 1)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</div><div><br></div><div><br></div><div>Can someone tell me if I miss something? I am very grateful for any hints<br></div>]]>
   </description>
   <pubDate>Tue, 05 Nov 2019 09:40:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15011.html#15011</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : awesome, thank youI started with...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15010.html#15010</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3144">hjerteblod</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 05 Nov 19 at 8:03AM<br /><br /><div>awesome, thank you</div><div>I started with</div><div><br></div><div>&nbsp;&nbsp;&nbsp;&nbsp; If OpenFileDialog1.ShowDialog = DialogResult.OK Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result = openFileDialog1.FileName<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.LoadFromFile(result, "")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.GetPageText(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox(QP.GetPageText(0))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</div><div><br></div><div>this works, and now I will go on with your hints, thanks!!<br></div>]]>
   </description>
   <pubDate>Tue, 05 Nov 2019 08:03:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15010.html#15010</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : This should be the first functions...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15009.html#15009</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 05 Nov 19 at 7:57AM<br /><br />This should be the first functions to have an eye on regarding your issue:<br>HasFontResources, ImageCount, FindImages.<br>To extract images you'll find the functionality in this group:<br>https://www.debenu.com/docs/pdf_library_reference/ImageHandling.php<br>The functions beginning with GetImage... will feed your needs.<br>The extraction of text you know already...<br><br>]]>
   </description>
   <pubDate>Tue, 05 Nov 2019 07:57:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15009.html#15009</guid>
  </item> 
  <item>
   <title><![CDATA[delete blank pdf-pages : The documents that are scanned...]]></title>
   <link>http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15008.html#15008</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3144">hjerteblod</a><br /><strong>Subject:</strong> 3759<br /><strong>Posted:</strong> 05 Nov 19 at 7:21AM<br /><br />The documents that are scanned contain text and logos of companies. So I have to exclude these. The scan with the lines, we have already installed elsewhere. I should now explicitly program this for PDF. So I understood you correctly, that I first have to check if there is text and then if there are pictures?<br><br>Thanks for the hints and the welcome.<br><br>greetings<br>hjerteblod]]>
   </description>
   <pubDate>Tue, 05 Nov 2019 07:21:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/delete-blank-pdfpages_topic3759_post15008.html#15008</guid>
  </item> 
 </channel>
</rss>