<?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 : Problem with Tiff compression</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 : Problem with Tiff compression]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 01 Jul 2026 13:57:53 +0000</pubDate>
  <lastBuildDate>Sun, 27 Dec 2020 16:21:45 +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=3866</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[Problem with Tiff compression : Good tip, it solves the poblem.Thank...]]></title>
   <link>http://www.quickpdf.org/forum/problem-with-tiff-compression_topic3866_post15517.html#15517</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1626">haka</a><br /><strong>Subject:</strong> 3866<br /><strong>Posted:</strong> 27 Dec 20 at 4:21PM<br /><br /><div>Good tip, it solves the poblem.</div><div>Thank you.<br></div>]]>
   </description>
   <pubDate>Sun, 27 Dec 2020 16:21:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-with-tiff-compression_topic3866_post15517.html#15517</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Tiff compression : Hi,I can confirm this issue.It...]]></title>
   <link>http://www.quickpdf.org/forum/problem-with-tiff-compression_topic3866_post15515.html#15515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3215">Sopracenery</a><br /><strong>Subject:</strong> 3866<br /><strong>Posted:</strong> 27 Dec 20 at 8:49AM<br /><br />Hi,<div>I can confirm this issue.</div><div><br></div><div>It has probably to do with the PDF-A mode.</div><div>You can bypass this by switching on PDF-A mode after TIF and text is drawn:</div><div><br></div><div><pre ="bbcode"="" style="width: 1057.609375px; -webkit-text-size-adjust: auto;"><font face="Times New Roman, Times, serif">LPDF.FitImage(0, LPDF.PageHeight, LPDF.PageWidth, LPDF.PageHeight, 1, 1, 0);&nbsp; //or&nbsp; LPDF.DrawScaledImage((...</font></pre><pre ="bbcode"="" style="width: 1057.609375px; -webkit-text-size-adjust: auto;"><font face="Times New Roman, Times, serif">LPDF.DrawTextBox(5, LPDF.PageHeight-5, LPDF.PageWidth-10, LPDF.PageHeight-10, LOcrText, 1);</font></pre><pre ="bbcode"="" style="width: 1057.609375px; -webkit-text-size-adjust: auto;"><font face="Times New Roman, Times, serif">LPDF.SetPDFAMode(2);</font></pre></div><div><br></div><div>Regards</div><div>Martin</div><span style="font-size:10px"><br /><br />Edited by Sopracenery - 27 Dec 20 at 9:08AM</span>]]>
   </description>
   <pubDate>Sun, 27 Dec 2020 08:49:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-with-tiff-compression_topic3866_post15515.html#15515</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Tiff compression : Hello. I have been using the following...]]></title>
   <link>http://www.quickpdf.org/forum/problem-with-tiff-compression_topic3866_post15490.html#15490</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1626">haka</a><br /><strong>Subject:</strong> 3866<br /><strong>Posted:</strong> 02 Dec 20 at 8:25AM<br /><br /><div>Hello. I have been using the following code for a long time and now I have a problem with version 18.11. <br></div><div>The file size is 1 MB, if text is added. Without text the compression works and the file is about 13 KB small.</div><div><font face="Arial, Helvetica, sans-serif"><table width="99%"><tr><td><pre class="BBcode"></font></div><font face="Arial, Helvetica, sans-serif">procedure pdfTest(AWriteText: boolean);<br>var LOcrText: string;<br>&nbsp;&nbsp;&nbsp; LPDF&nbsp;&nbsp;&nbsp; : TDebenuPDFLibrary;<br>begin<br>&nbsp; LPDF := TDebenuPDFLibrary.Create;<br>&nbsp; LPDF.UnlockKey('your key');<br>&nbsp; try<br>&nbsp;&nbsp;&nbsp; LPDF.SetPDFAMode(2);<br>&nbsp;&nbsp;&nbsp; LPDF.SetMeasurementUnits(1);<br>&nbsp;&nbsp;&nbsp; LPDF.SetPageSize('A4');<br>&nbsp;&nbsp;&nbsp; LPDF.CompressImages(1);<br>&nbsp;&nbsp;&nbsp; LPDF.AddImageFromFile('g:\temp\test.tif', 1); // use Windows Paint, draw a line for example and save as Tiff<br>&nbsp;&nbsp;&nbsp; LPDF.FitImage(0, LPDF.PageHeight, LPDF.PageWidth, LPDF.PageHeight, 1, 1, 0);&nbsp; //or&nbsp; LPDF.DrawScaledImage((...<br><br>&nbsp;&nbsp;&nbsp; { if AWriteText is true or just one of the three lines is executed, the file size is &gt; 1000 kB }<br>&nbsp;&nbsp;&nbsp; { if AWriteText is false the file size is only ~ 13 kB&nbsp; }<br>&nbsp;&nbsp;&nbsp; if AWriteText then begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LOcrText := 'this is only a test test';<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LPDF.SetTextMode(3); // Invisible text<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LPDF.SetTextSize(6);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LPDF.DrawTextBox(5, LPDF.PageHeight-5, LPDF.PageWidth-10, LPDF.PageHeight-10, LOcrText, 1);<br>&nbsp;&nbsp;&nbsp; end;<br><br>&nbsp;&nbsp;&nbsp; LPDF.SaveToFile('g:\temp\test.pdf');<br>&nbsp; finally<br>&nbsp;&nbsp;&nbsp; LPDF.Free;<br>&nbsp; end;<br></font><div><font face="Arial, Helvetica, sans-serif">end;</font></div><div><font face="Arial, Helvetica, sans-serif"></pre></td></tr></table><br></font></div><div><br></div><div>Greetings and thanks for suggestions,</div><div>Harald<br></div>]]>
   </description>
   <pubDate>Wed, 02 Dec 2020 08:25:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-with-tiff-compression_topic3866_post15490.html#15490</guid>
  </item> 
 </channel>
</rss>