<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to FBMFormat</title><link>https://sourceforge.net/p/pixelimage/wiki/FBMFormat/</link><description>Recent changes to FBMFormat</description><atom:link href="https://sourceforge.net/p/pixelimage/wiki/FBMFormat/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 21 Oct 2016 10:20:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pixelimage/wiki/FBMFormat/feed" rel="self" type="application/rss+xml"/><item><title>FBMFormat modified by Kaban</title><link>https://sourceforge.net/p/pixelimage/wiki/FBMFormat/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -40,7 +40,7 @@
 where

 * *dwId* - file identifier (*4D424C46* in hex or "FLBM")
-* *dwFormat* - bit depth/colorspace (see [SBM format](SBMFormat))
+* *dwFormat* - bit depth/colorspace (see [Color Formats](ColorFormats))
 * *dwWidth* - image width
 * *dwHeight* - image height
 * *dwRowSize* - row size in bytes
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kaban</dc:creator><pubDate>Fri, 21 Oct 2016 10:20:50 -0000</pubDate><guid>https://sourceforge.net3da3036f2dee6ba085fda7e184e33b76f82b33ea</guid></item><item><title>FBMFormat modified by Kaban</title><link>https://sourceforge.net/p/pixelimage/wiki/FBMFormat/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;FBM (FLASH BitMap) is simplified version of &lt;a class="" href="/p/pixelimage/wiki/SBMFormat/"&gt;SBM&lt;/a&gt; designed for images stored in flash memory.&lt;br/&gt;
This format does not support compression and embedded palettes.&lt;/p&gt;
&lt;h3 id="layout"&gt;Layout&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Header&lt;/li&gt;
&lt;li&gt;Pixel Data&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="structures"&gt;Structures&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;File header&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Fields are 32-bit aligned for fast access with 32-bit ARM MCU's&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Delphi/Pascal&lt;/em&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;type&lt;/span&gt;
    &lt;span class="nt"&gt;TFBMHeader&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nt"&gt;packed&lt;/span&gt; &lt;span class="nt"&gt;record&lt;/span&gt;
        &lt;span class="nt"&gt;dwID&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;cardinal&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="nt"&gt;dwFormat&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;cardinal&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="nt"&gt;dwWidth&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;cardinal&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="nt"&gt;dwHeight&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;cardinal&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="nt"&gt;dwRowSize&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;cardinal&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="nt"&gt;dwDataSize&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;cardinal&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="nt"&gt;end&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;em&gt;C/C++&lt;/em&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;typedef struct _fbm_header {
    uint32_t dwId;
    uint32_t dwFormat;
    uint32_t dwWidth;
    uint32_t dwHeight;
    uint32_t dwRowSize;
    uint32_t dwDataSize;
} fbm_header_t;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;where&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;dwId&lt;/em&gt; - file identifier (&lt;em&gt;4D424C46&lt;/em&gt; in hex or "FLBM")&lt;/li&gt;
&lt;li&gt;&lt;em&gt;dwFormat&lt;/em&gt; - bit depth/colorspace (see &lt;a class="" href="/p/pixelimage/wiki/SBMFormat/"&gt;SBM format&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;em&gt;dwWidth&lt;/em&gt; - image width&lt;/li&gt;
&lt;li&gt;&lt;em&gt;dwHeight&lt;/em&gt; - image height&lt;/li&gt;
&lt;li&gt;&lt;em&gt;dwRowSize&lt;/em&gt; - row size in bytes&lt;/li&gt;
&lt;li&gt;&lt;em&gt;dwDataSize&lt;/em&gt; - total pixel data size in bytes&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kaban</dc:creator><pubDate>Fri, 21 Oct 2016 10:15:18 -0000</pubDate><guid>https://sourceforge.net617bc11919bce57ca7e5cbf79e328fbc03411c96</guid></item></channel></rss>