<?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 : image extraction questions</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 : image extraction questions]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 18:43:21 +0000</pubDate>
  <lastBuildDate>Tue, 02 Feb 2010 12:39:37 +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=1333</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[image extraction questions : PS: the DARenderPageToFile() has...]]></title>
   <link>http://www.quickpdf.org/forum/image-extraction-questions_topic1333_post6097.html#6097</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1236">sobisch</a><br /><strong>Subject:</strong> 1333<br /><strong>Posted:</strong> 02 Feb 10 at 12:39PM<br /><br />PS: the DARenderPageToFile() has the same Problem :) <DIV></DIV><DIV>&nbsp;</DIV><DIV>I generate a image of each page of the PDF file. In this page-preview, the 4 images have reversed colours, too... So there are white lines on black background, the original Image (as the pdf viewer displays ist) has black lines on white background... </DIV><DIV>&nbsp;</DIV><DIV>Has anyone similar problems with the Image Funktions of quickpdf?</DIV><span style="font-size:10px"><br /><br />Edited by sobisch - 02 Feb 10 at 12:39PM</span>]]>
   </description>
   <pubDate>Tue, 02 Feb 2010 12:39:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-extraction-questions_topic1333_post6097.html#6097</guid>
  </item> 
  <item>
   <title><![CDATA[image extraction questions : Here my little Script for extract...]]></title>
   <link>http://www.quickpdf.org/forum/image-extraction-questions_topic1333_post6095.html#6095</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1236">sobisch</a><br /><strong>Subject:</strong> 1333<br /><strong>Posted:</strong> 02 Feb 10 at 7:50AM<br /><br /><P>Here my little Script for extract Images of a PDF in PHP:</P><DIV>&nbsp;</DIV><DIV>qp-&gt;LoadFromFile($path_to_pdf.'test.pdf');</DIV><DIV>$imagecount = $qp-&gt;FindImages();</DIV><DIV>if ($imagecount&gt;0) {<BR>&nbsp;for ($image = 1; $image &lt;= $imagecount; $image++) {<BR>&nbsp;&nbsp;$imageid = $qp-&gt;GetImageID($image);<BR>&nbsp;&nbsp;$qp-&gt;SelectImage($imageid);<BR>&nbsp;&nbsp;switch ($qp-&gt;ImageType()) {<BR>&nbsp;&nbsp;&nbsp;case 1: $imagetype = "jpg"; break;<BR>&nbsp;&nbsp;&nbsp;case 2: $imagetype = "bmp"; break;<BR>&nbsp;&nbsp;&nbsp;case 3: $imagetype = "tif"; break;<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;$qp-&gt;SaveImageToFile($path_to_pdf."image".$image.".".$imagetype);<BR>&nbsp;}<BR>}</DIV><DIV>&nbsp;</DIV><DIV>I tried this with a PDF&nbsp;with 2 pages, and 7 Pictures (all .bmp)</DIV><DIV>&nbsp;</DIV><DIV>The Problem is, that the saved Images are partly incorrect in the Colors. All 7 images are drawings on white Background. But 4 of the saved images has reversed Colors :/ So The Background is Black and the Lines are white. So of course I can use a image library to revert the Colours of the Image, but how is it possible to find out which images have correct Colours and which does not? Of course I want save all Images of the PDF in the correct Colour ;) </DIV><DIV>&nbsp;</DIV><DIV>I tried a small shell program (pdfimages.exe) to extract the Images from the same pdf. With this program, all Images have the correct Colour, so it had to be possible to get the correct Colours width QuickPDF, too?</DIV><DIV>&nbsp;</DIV><DIV>And another question: On the first page of the&nbsp;PDF are&nbsp;5 pictures, on the second page are 3 pictures. How can I extract the Page Number of the Images, or Extract only the Images of the Current Page? I need the assignment between pages and images.</DIV>]]>
   </description>
   <pubDate>Tue, 02 Feb 2010 07:50:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/image-extraction-questions_topic1333_post6095.html#6095</guid>
  </item> 
 </channel>
</rss>