<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - The MBM file format - Comments</title>
 <link>http://www.newlc.com/The-MBM-file-format.html</link>
 <description>Comments for &quot;The MBM file format&quot;</description>
 <language>en</language>
<item>
 <title>&gt; The MBM file format</title>
 <link>http://www.newlc.com/The-MBM-file-format.html#comment-214</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;12 bit RLE compression looks like following:&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;1 RLE packet:  [GGGGBBBB] [nnnnRRRR]&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;nnnn:  n+1 is number of repetitions&lt;br&gt;
RGB:   are 4bit values of Red,Green,Blue&lt;br&gt;&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;In my case I needed to create image with 8bits per color per pixel, so the conversion is&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;R = (R &lt;&lt; 4) | R&lt;br&gt;
G = (G &lt;&lt; 4) | G&lt;br&gt;
B = (B &lt;&lt; 4 )| B&lt;br&gt;&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 04 Nov 2004 11:21:08 +0100</pubDate>
 <dc:creator>Michal Sankot</dc:creator>
 <guid isPermaLink="false">comment 214 at http://www.newlc.com</guid>
</item>
<item>
 <title>The MBM file format</title>
 <link>http://www.newlc.com/The-MBM-file-format.html</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;A description of Symbian MultiBitMap file format&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/The-MBM-file-format.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/The-MBM-file-format.html#comments</comments>
 <category domain="http://www.newlc.com/taxonomy/term/2">Graphics</category>
 <category domain="http://www.newlc.com/taxonomy/term/132">Graphic</category>
 <pubDate>Tue, 25 Mar 2003 13:16:25 +0100</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">51 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
