<?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 : PdfLibrary v10: Bug when adding PNG</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 : General Discussion : PdfLibrary v10: Bug when adding PNG]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:45:09 +0000</pubDate>
  <lastBuildDate>Fri, 06 Nov 2015 08:58:57 +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=3164</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[PdfLibrary v10: Bug when adding PNG : HiWalther,The issue was fixed...]]></title>
   <link>http://www.quickpdf.org/forum/pdflibrary-v10-bug-when-adding-png_topic3164_post12761.html#12761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2593">Paul</a><br /><strong>Subject:</strong> 3164<br /><strong>Posted:</strong> 06 Nov 15 at 8:58AM<br /><br /><span style="line-height: 16.8px; : rgb251, 251, 253;">Hi&nbsp;Walther,</span><div><span style="line-height: 16.8px; : rgb251, 251, 253;"><br></span></div><div><span style="line-height: 16.8px; : rgb251, 251, 253;">The issue was fixed and the solution is available in the version 12.11. You can download it form here:</span></div><div><span style="line-height: 16.8px; : rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">http://www.debenu.com/products/development/debenu-pdf-library/trial/</span></div>]]>
   </description>
   <pubDate>Fri, 06 Nov 2015 08:58:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdflibrary-v10-bug-when-adding-png_topic3164_post12761.html#12761</guid>
  </item> 
  <item>
   <title><![CDATA[PdfLibrary v10: Bug when adding PNG : HiWalther,Yes, you are correct,...]]></title>
   <link>http://www.quickpdf.org/forum/pdflibrary-v10-bug-when-adding-png_topic3164_post12678.html#12678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 3164<br /><strong>Posted:</strong> 20 Aug 15 at 9:27AM<br /><br />Hi&nbsp;Walther,<div><br></div><div>Yes, you are correct, that appears to be a mistake. We'll fix that in the next release. Thanks!</div><div><br></div><div>Just be careful posting source code on forums, this is only a small snippet so not a big deal but preferably just post the version number, filename and line number with suggested change. If there's a bigger suggested change better to email Debenu directly.</div><div><br></div><div>Cheers,</div><div>- Rowan.</div>]]>
   </description>
   <pubDate>Thu, 20 Aug 2015 09:27:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdflibrary-v10-bug-when-adding-png_topic3164_post12678.html#12678</guid>
  </item> 
  <item>
   <title><![CDATA[PdfLibrary v10: Bug when adding PNG : DebenuPDFLibraryPNG.pas has a...]]></title>
   <link>http://www.quickpdf.org/forum/pdflibrary-v10-bug-when-adding-png_topic3164_post12677.html#12677</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2768">Walther</a><br /><strong>Subject:</strong> 3164<br /><strong>Posted:</strong> 20 Aug 15 at 8:41AM<br /><br />DebenuPDFLibraryPNG.pas has a function TPNGReader.FilterData where there's a code snip like this<span style="line-height: 1.4;">:</span><div><div>&nbsp; ...</div><div>&nbsp; &nbsp; SetLength(FAlphaData, AlphaDataByteCount * FHeight);</div><div>&nbsp; &nbsp; if Length(FImageData) &gt; 0 then</div><div>&nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; FillChar(FAlphaData&#091;1&#093;, Length(FAlphaData), 0);</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; ...</div><div style="line-height: 1.4;"><br></div></div><div style="line-height: 1.4;">This code is buggy and should most likely be:</div><div style="line-height: 1.4;"><div style="line-height: 1.4;">&nbsp; ...</div><div style="line-height: 1.4;">&nbsp; &nbsp; SetLength(FAlphaData, AlphaDataByteCount * FHeight);</div><div style="line-height: 1.4;">&nbsp; &nbsp; if Length(<span style="line-height: 16.7999992370605px;">FAlphaData</span>) &gt; 0 then &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp;<span style="line-height: 16.7999992370605px;">FAlphaData replaced here!!!</span></div><div style="line-height: 1.4;">&nbsp; &nbsp; begin</div><div style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; FillChar(FAlphaData&#091;1&#093;, Length(FAlphaData), 0);</div><div style="line-height: 1.4;">&nbsp; &nbsp; end;</div><div style="line-height: 1.4;">&nbsp; ...</div><div><br></div><div>This caused some confusion within our development team.&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" />&nbsp;If this is not fixed in version 11, you could probably merge in the fix there.</div></div>]]>
   </description>
   <pubDate>Thu, 20 Aug 2015 08:41:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pdflibrary-v10-bug-when-adding-png_topic3164_post12677.html#12677</guid>
  </item> 
 </channel>
</rss>