<?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 : AddImageFromFile and multipage TIF</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 : AddImageFromFile and multipage TIF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 01:07:31 +0000</pubDate>
  <lastBuildDate>Wed, 11 Apr 2007 10:51:34 +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=649</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[AddImageFromFile and multipage TIF : Hi Peter,  sorry for delay but...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3404.html#3404</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=324">marian_pascalau</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 11 Apr 07 at 10:51AM<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN">Hi Peter, <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN">sorry for delay but I had some other bugs pending. Peter I have checked your problem. The problem you have is caused by a bad QuickPDF implementation and a very bad behaviour of the default Delphi Memory manager (which creates a very bad memory fragmentation when working with large pointers). <o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN">This means that when you compile the ActiveX version of QuickPDF library the normal way with Delphi then you will still get this error. But when compiled with the FastMM memory manager for Delphi it should work without problems (http://sourceforge.net/projects/fastmm/). <o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'; mso-ansi-: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'; mso-ansi-: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2">Best regards, Marian<o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 10:51:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3404.html#3404</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : Peter, send a detail bug report...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3122.html#3122</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=324">marian_pascalau</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 06 Mar 07 at 5:14AM<br /><br />Peter,<DIV>send a detail bug report to support(at)quickpdf.org . We will check this problem and confirm eventualy what you are saying.</DIV><DIV>&nbsp;</DIV><DIV>Please send the TIFF file and a small code snippet.</DIV><DIV>&nbsp;</DIV><DIV>Best regards, Marian</DIV>]]>
   </description>
   <pubDate>Tue, 06 Mar 2007 05:14:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3122.html#3122</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : Ingo, I tried to process packages...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3118.html#3118</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=589">peteratoce</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 06 Mar 07 at 4:18AM<br /><br />Ingo, I tried to process packages of only 10 pages, each with a new instance. The error occured anyway, and at the self same page of the input TIF. <DIV>&nbsp;</DIV><DIV>So, there has to be something amiss with the design of&nbsp;function <FONT size=2>AddImageFromFile. I suspect that the function call tries to read all pages into memory&nbsp;until it finally arrives at&nbsp;the one that was actually&nbsp;asked for, instead of&nbsp;simply determining&nbsp;the offset and range of the&nbsp;image data for the desired page and grab that only.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Peter&nbsp;&nbsp;</DIV></FONT>]]>
   </description>
   <pubDate>Tue, 06 Mar 2007 04:18:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3118.html#3118</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : Hi!Extracting textcontent from...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3095.html#3095</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 04 Mar 07 at 2:19PM<br /><br />Hi!<br><br>Extracting textcontent from very big files with many pages i've made similar&nbsp; experiences... The extracting seems to stop&nbsp; and doesn't come to an end and all the time i've got 100% cpu utilisation.<br><br>If i've&nbsp; many pages to extract now i free the instance after a  specified pagecount, create a new instance starting with the last page+1 ... I#ve made very good experiences with it!<br><br>With GetImagePageCount you know the page count and now you can make several runs with <font><font size="2">AddImageFromFile.<br><br>I really think this could work for you.<br>&nbsp;<br>Best regards,<br>Ingo<br><br></font></font><br>]]>
   </description>
   <pubDate>Sun, 04 Mar 2007 14:19:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3095.html#3095</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : &amp;#034;... I am not too keen on...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3094.html#3094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 04 Mar 07 at 2:08PM<br /><br />"... I am not too keen on delving down into the PDF itself, that's why I like to use libraries like QuickPDF..."<br><br>Hi Peter!<br><br>To be honest ... me too ;-)<br>In my case i only want to detect that there are images - i don't want to do anything with them.<br><br>Best regards,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Sun, 04 Mar 2007 14:08:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3094.html#3094</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : Peter sent me a 30MB TIFF file...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3093.html#3093</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=225">ixm7</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 04 Mar 07 at 11:46AM<br /><br />Peter sent me a 30MB TIFF file and I tested adding the images to a PDF file using code that works very well with other (smaller) multi-page TIFF files.<br /><br />I can confirm the problem he's reporting.  After more than 30 minutes, the process was still churning at close to 100% CPU utilization. <br /><br />Peter, I suggest you contact Marian and offer to sponsor a fix for this issue.  I've sponsored Marian for one enhancement to the library and he came through with a nice fix within 1 week.<br /><br />Cheers,<br />- Ido<span style="font-size:10px"><br /><br />Edited by ixm7 - 04 Mar 07 at 11:49AM</span>]]>
   </description>
   <pubDate>Sun, 04 Mar 2007 11:46:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3093.html#3093</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : Hi Ingo, how do you access the...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3092.html#3092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=589">peteratoce</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 04 Mar 07 at 11:36AM<br /><br />Hi Ingo,<DIV>how do you access the image&nbsp;objects after you found them directly? My aim is to export them to a TIF file. And, to be honest, I am not too keen on delving down into the PDF itself, that's why I like to use libraries like QuickPDF...</DIV><DIV>&nbsp;</DIV><DIV>Peter</DIV>]]>
   </description>
   <pubDate>Sun, 04 Mar 2007 11:36:04 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3092.html#3092</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : QP.GetImagePageCount(TIFF_File)...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3023.html#3023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=225">ixm7</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 25 Feb 07 at 7:38AM<br /><br />QP.GetImagePageCount(TIFF_File) gives you the number of images inside the TIFF file.  Then, loop through and bring each page in.  Works fine for me.<br /><br />Peter, if you email to me (ido at milletsoftware.com) the 100-page TIFF file, I can test and let you know if my routine works on it.<br /><br />Cheers,<br />- Ido]]>
   </description>
   <pubDate>Sun, 25 Feb 2007 07:38:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3023.html#3023</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : Hi Peter!FindImage is buggy since...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3022.html#3022</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 25 Feb 07 at 6:23AM<br /><br />Hi Peter!<br />FindImage is buggy since a long time.<br />I'm doing the ImageCount directly in the pdf-source searching and counting the relevant image-objects.<br />Best regards,<br />Ingo<br />]]>
   </description>
   <pubDate>Sun, 25 Feb 2007 06:23:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3022.html#3022</guid>
  </item> 
  <item>
   <title><![CDATA[AddImageFromFile and multipage TIF : Ido, I would not expect an indication...]]></title>
   <link>http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3021.html#3021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=589">peteratoce</a><br /><strong>Subject:</strong> 649<br /><strong>Posted:</strong> 25 Feb 07 at 3:53AM<br /><br />Ido, I would not expect an indication of the actual pages in the TIF file from that function call. In fact, I retrieved that information through GDI+ before starting with QuickPDF processing.<DIV>&nbsp;</DIV><DIV>I found&nbsp;another problem&nbsp;with images and the QuickPDF library:</DIV><DIV>When you try to do the inverse processing, that is, write TIF images from PDF to file, you need first to determine the number of images available. For this there exists function FindImages().&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I had created a PDF from my 100 pages TIF with the help of Acrobat (BTW, the TIF has 1200 dpi, I falsely reported 600 dpi instead in my original post).&nbsp;My program to extract the images crashed &nbsp;in function FindImages:</DIV><DIV>System.Runtime.InteropServices.COMException (0x8000FFFF): Out of memory while expanding memory stream<BR>&nbsp;&nbsp; at iSED.IQuickPDF.FindImages()</DIV><DIV>&nbsp;</DIV><DIV>That gives the impression that the library attempts to read all existing images into memory while finding out the total number of images!</DIV><DIV>&nbsp;</DIV><DIV>Well, I think I will abandon the idea to use QuickPDF for the handling of a large number of images per file (sigh).</DIV><DIV>&nbsp;</DIV><DIV>Peter</DIV>]]>
   </description>
   <pubDate>Sun, 25 Feb 2007 03:53:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/addimagefromfile-and-multipage-tif_topic649_post3021.html#3021</guid>
  </item> 
 </channel>
</rss>