<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: Palette -&gt; True Color</title><link>https://sourceforge.net/p/phpqrcode/patches/2/</link><description>Recent changes to 2: Palette -&gt; True Color</description><atom:link href="https://sourceforge.net/p/phpqrcode/patches/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 20 May 2013 15:35:53 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpqrcode/patches/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>#2 Palette -&gt; True Color</title><link>https://sourceforge.net/p/phpqrcode/patches/2/?limit=25#5ab7</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominik Dzienia</dc:creator><pubDate>Mon, 20 May 2013 15:35:53 -0000</pubDate><guid>https://sourceforge.netf25266d8680dcecac4797a0b806f859e0e461471</guid></item><item><title>#2 Palette -&gt; True Color</title><link>https://sourceforge.net/p/phpqrcode/patches/2/?limit=25#61bd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;B&amp;amp;W was selected to output possible small PNG image,&lt;br /&gt;
for future releases i plan to add more configuration to image output,&lt;br /&gt;
for now this patch is good idea when someone needs non-paleted, RGB images.&lt;br /&gt;
Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominik Dzienia</dc:creator><pubDate>Mon, 20 May 2013 15:31:46 -0000</pubDate><guid>https://sourceforge.nete3423545bc698ede490752d8988156c06895cee2</guid></item><item><title>Palette -&gt; True Color</title><link>https://sourceforge.net/p/phpqrcode/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I had been running into a problem where the QR Codes were being read by a .Net application to be used for generating a PDF.  It kept dying on importing the PNG file generated by phpQrCode and it turns out that the palette-based PNG phpQrCode generates was 1-bit (2 colors, black and white).&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;While the palette-based PNG is much more compact and efficient and still renders fine in other places, this particular control (or whatever it's called in .Net) wasn't having anything to do with it, generating a NullPointerException when reading the PNG image.&lt;/p&gt;
&lt;p&gt;Sizes (based upon a QR encoding of a 50 character URL):&lt;br /&gt;
-  Palette-Based (1-bit):  700 bytes&lt;br /&gt;
-  TrueColor (24-bit):  2500 bytes&lt;/p&gt;
&lt;p&gt;Quite a bit of difference in size, but sometimes it has to work for all uses.&lt;/p&gt;
&lt;p&gt;This patch file just updates the one big file and the qrimage.php class to use ImageCreateTrueColor instead of ImageCreate.&lt;/p&gt;
&lt;p&gt;I haven't tried this when generating JPG or EPS (that the other patch adds) but imagine that it should be fine with JPG at a minimum.&lt;/p&gt;
&lt;p&gt;BTW:  the .net control:   PDFSharp 1.31  (can be found here on sourceforge)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">paulus</dc:creator><pubDate>Thu, 17 Nov 2011 19:49:17 -0000</pubDate><guid>https://sourceforge.nete23b6a5114aad0022dcf4bfa30915aa00d0883d3</guid></item><item><title>Palette -&gt; True Color</title><link>https://sourceforge.net/p/phpqrcode/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 2 has been modified: Palette -&amp;gt; True Color&lt;br /&gt;
Edited By: Dominik Dzienia (deltalab)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'accepted'&lt;br /&gt;
_milestone updated: '' =&amp;gt; u'Unstable (example)'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">paulus</dc:creator><pubDate>Thu, 17 Nov 2011 19:49:17 -0000</pubDate><guid>https://sourceforge.net6ce7200ac5f92c1460b1cc345d9b4dd3756612cc</guid></item></channel></rss>