<?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 : Problems in extracting 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 : Problems in extracting Images from PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 10:26:01 +0000</pubDate>
  <lastBuildDate>Mon, 17 Aug 2009 21:31:59 +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=1174</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[Problems in extracting Images from PDF :  Hi!  I think you don&amp;#039;t...]]></title>
   <link>http://www.quickpdf.org/forum/problems-in-extracting-images-from-pdf_topic1174_post5439.html#5439</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1174<br /><strong>Posted:</strong> 17 Aug 09 at 9:31PM<br /><br />Hi!<div>&nbsp;</div><div>I think you don't get an answer 'cause there are probs starting your exe (probs with activex-creation...). But anyway...</div><div>Where are these sliced images on the pages?</div><div>More at the bottom and at the top of the pages... and not in the middle of the pages?</div><div>How are they implemented?</div><div>I've&nbsp;loaded your test.pdf with adobe reader and clicked on the small image in the middle to select it -&gt; I see ONE frame.</div><div>When i click on the bigger iimage at the top of the page it depends on where i'm clicking... i see&nbsp;THREE frames.</div><div>So i assume that the big image will be extracted&nbsp;as three parts?</div><div>So i assume the creation/insertion of the big image is the problem?</div><div>&nbsp;</div><div>Am i <strike>write</strike> <font color="#0000ff">right</font> ;-)</div><div>&nbsp;</div><div>Cheers, Ingo</div><div>&nbsp;</div><div><font size="1"><i>&nbsp;(Edit from Michel: corrected small typo for legibility reasons)</i></font><br></div><span style="font-size:10px"><br /><br />Edited by Michel_K17 - 18 Aug 09 at 12:47AM</span>]]>
   </description>
   <pubDate>Mon, 17 Aug 2009 21:31:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-in-extracting-images-from-pdf_topic1174_post5439.html#5439</guid>
  </item> 
  <item>
   <title><![CDATA[Problems in extracting Images from PDF : I&amp;#039;m really surprised to see...]]></title>
   <link>http://www.quickpdf.org/forum/problems-in-extracting-images-from-pdf_topic1174_post5437.html#5437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1138">Ruturaaj</a><br /><strong>Subject:</strong> 1174<br /><strong>Posted:</strong> 17 Aug 09 at 8:36PM<br /><br />I'm really surprised to see no response to this thread! :( <br>Guys, I need your help to make this thing to work. <br>Please come forward and share your thoughts on this issue.<br>Waiting ...<br>]]>
   </description>
   <pubDate>Mon, 17 Aug 2009 20:36:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-in-extracting-images-from-pdf_topic1174_post5437.html#5437</guid>
  </item> 
  <item>
   <title><![CDATA[Problems in extracting Images from PDF : Hi All!!How are you all doing?!...]]></title>
   <link>http://www.quickpdf.org/forum/problems-in-extracting-images-from-pdf_topic1174_post5423.html#5423</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1138">Ruturaaj</a><br /><strong>Subject:</strong> 1174<br /><strong>Posted:</strong> 14 Aug 09 at 5:59AM<br /><br />Hi All!!<br><br>How are you all doing?! I need your help regarding one highlighted feature of QuickPDF library ... "Extracting Images from PDF". I attempted to extract images from PDF file using QuickPDF, but I noticed that it slices some of the images into parts while extracting. I don't know why it happens so. For your testing purpose, I've created a small project; please download it from following URL:<br><br><a href="http://www.mediafire.com/file/tjyi3owmnzn/Ruturaaj_ExtractImages.zip" target="_blank">http://www.mediafire.com/file/tjyi3owmnzn/Ruturaaj_ExtractImages.zip</a><br><br>Here is the function that I've written for extracting images:<br><br><font face="Courier New, Courier, mono">Private Function ExtractImagesFromPDF(ByVal sPDFFile As String, ByVal sFolderToSave As String) As Long<br>&nbsp;&nbsp;&nbsp; Dim iCnt As Integer, lTotal As Long<br>&nbsp;&nbsp;&nbsp; Dim lRet As Long<br>&nbsp;&nbsp;&nbsp; Dim lImgID As Long, sImgExt As String<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set oPDF = New PDFLibrary<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; With oPDF<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRet = .LoadFromFile(sPDFFile)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lRet = 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExtractImagesFromPDF = -1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Function<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lRet = 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExtractImagesFromPDF = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Function<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lTotal = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lRet = .FindImages<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For iCnt = 1 To lRet<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lImgID = .GetImageID(iCnt)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If .SelectImage(lImgID) = 1 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select Case .ImageType<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 1: sImgExt = ".jpg"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 2: sImgExt = ".bmp"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 3: sImgExt = ".tiff"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case Else: sImgExt = ".unknown"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Select<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SaveImageToFile AddBackSlash(sFolderToSave) &amp; FileNameFromPath(sPDFFile, False) &amp; "_img_" &amp; iCnt &amp; sImgExt<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DoEvents<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lTotal = lTotal + 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DoEvents<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next iCnt<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExtractImagesFromPDF = lTotal<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; End With<br>&nbsp;&nbsp;&nbsp; <br>End Function</font><br><br>Can you please tell me what additional stuff is needed to add to this function in order to make it to extract images correctly? <br><br>Eagerly waiting for your reply ...<br><br>Best Regards,<br><br>Ruturaaj.<br><br>]]>
   </description>
   <pubDate>Fri, 14 Aug 2009 05:59:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problems-in-extracting-images-from-pdf_topic1174_post5423.html#5423</guid>
  </item> 
 </channel>
</rss>