<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4313658265816945577</atom:id><lastBuildDate>Fri, 01 Nov 2024 06:24:10 +0000</lastBuildDate><category>Data Compression</category><category>Image Compression</category><category>Bmp Image Format</category><category>FFMPEG WMV3</category><category>Image Bit Depth</category><category>Image Color Depth</category><category>Image Dimensions</category><category>Image Formats</category><category>Mobile Internet</category><category>RLE Compression</category><title>Image Formats Information</title><description>About Images</description><link>http://imageformatsinfo.blogspot.com/</link><managingEditor>noreply@blogger.com (Image Formats)</managingEditor><generator>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>About Images</itunes:subtitle><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4313658265816945577.post-1992377235626849612</guid><pubDate>Sun, 10 Oct 2010 03:54:00 +0000</pubDate><atom:updated>2010-10-10T07:18:30.690-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Bmp Image Format</category><category domain="http://www.blogger.com/atom/ns#">Image Formats</category><title>Bmp Image Format</title><description>&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;u&gt;BITMAP Image Format&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The BMP image file also called DIB image file. DIB means (Device Independent Bitmap). It is an image file used to store image data with different bit levels. This article describes the BITMAP file formats used in Microsoft windows, and IBM os/2 machines in byte by byte level. Its file extension is either BMP or DIB. The sample 24 bit BMP and DIP image are shown below.&lt;/div&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTUJDOFMS5BrIDwV3dsjwEVBFwNiEcC1GzO1yvctyvq-Vdtke4gO5YcAMsbTS9xRAyyCfon2ZzVxd7YGKLF5E_1Tgenb8NYazKnK3tleI95t30LdhAyTM46ey_Gs7u3ITj-8SSHlKnFN8/s1600/Sample+Bitmap+Image.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="BMP image hex data" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTUJDOFMS5BrIDwV3dsjwEVBFwNiEcC1GzO1yvctyvq-Vdtke4gO5YcAMsbTS9xRAyyCfon2ZzVxd7YGKLF5E_1Tgenb8NYazKnK3tleI95t30LdhAyTM46ey_Gs7u3ITj-8SSHlKnFN8/s1600/Sample+Bitmap+Image.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Sample Bitmap.dip&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9c-72h_ifVOkQuaIexwGTBganFVRSroGoWeSsjayvSPQm3UrpGISdAcWcmuZl5d8FwjYZIJNclkWoOlGLEfUBkhD6k7R-sDbSFJO2Dk0lLUUd9SmaY01dMQoPdgLUf1o__S-TB4Ti9lc/s1600/Sample+Bitmap+Image.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9c-72h_ifVOkQuaIexwGTBganFVRSroGoWeSsjayvSPQm3UrpGISdAcWcmuZl5d8FwjYZIJNclkWoOlGLEfUBkhD6k7R-sDbSFJO2Dk0lLUUd9SmaY01dMQoPdgLUf1o__S-TB4Ti9lc/s1600/Sample+Bitmap+Image.bmp" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Sample Bitmap.bmp&lt;/div&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;i&gt;Contents :&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;i&gt;&lt;a href="http://imageformatsinfo.blogspot.com/2010/10/bmp-image-format.html#DIM or BMP Image file format"&gt;DIM or BMP Image file format&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;a href="http://imageformatsinfo.blogspot.com/2010/10/bmp-image-format.html#Bitmap File Header"&gt;Bitmap File Header&lt;/a&gt;&lt;/i&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;&lt;a href="http://imageformatsinfo.blogspot.com/2010/10/bmp-image-format.html#Bitmap File Header Field details"&gt;Bitmap File Header Field details&lt;/a&gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;Bitmap Information&amp;nbsp;&lt;/i&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;Bitmap Information&amp;nbsp;Field details&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;Color Palette&lt;/i&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;Color Palette&amp;nbsp;Field details&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;Bitmap Data&lt;/i&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;Bitmap Data&amp;nbsp;Field details&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4313658265816945577&amp;amp;postID=1992377235626849612" name="DIM or BMP Image file format"&gt;DIM or BMP Image file format:&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&amp;nbsp;           &lt;/span&gt;A typical BMP has the following structure. It consist if BMP File Header, Bitmap Information, Color palette and Bitmap Data.&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;table class="wikitable" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; font-size: 13px; margin-bottom: 1em; margin-left: auto; margin-right: auto; margin-top: 1em;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;b&gt;BMP File Header&lt;/b&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;BMP file general information.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;b&gt;Bitmap Information&lt;/b&gt;&amp;nbsp;(DIB header)&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Detailed information about the BMP image.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;b&gt;Color Palette&lt;/b&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Color definitions used for indexed color bitmaps.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;b&gt;Bitmap Data&lt;/b&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;pixel by pixel image data&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;To explain the information in details, the above bmp image is taken as a sample image and its hex values are&amp;nbsp;displayed.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFak1HgqylVXxZ0Ca0Ba7oyP3X0aRei0HqOhyvqyQNalV2Sc8BPyHdzuQ4wvKxHRNb81AIiqrQqSNT5Qn0QmUefuoZVarJ-e57v7bc-GNddQrVZkfWKaDPOxB5dbA5FC-nshNm_3SB_j0/s1600/hex.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="293" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFak1HgqylVXxZ0Ca0Ba7oyP3X0aRei0HqOhyvqyQNalV2Sc8BPyHdzuQ4wvKxHRNb81AIiqrQqSNT5Qn0QmUefuoZVarJ-e57v7bc-GNddQrVZkfWKaDPOxB5dbA5FC-nshNm_3SB_j0/s400/hex.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4313658265816945577&amp;amp;postID=1992377235626849612" name="Bitmap File Header"&gt;Bitmap File Header:&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For any file types first few bytes are identify of that files. It identifies the file types. Like that here also first two bytes are the identity bytes. Generally first two bytes has the value of 'BM'. &amp;nbsp;All the values are stores in little-endian encoding format. Generally the first 14 bytes contains the BMP file header information.&amp;nbsp;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;table class="wikitable" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; font-size: 13px; margin-bottom: 1em; margin-left: auto; margin-right: auto; margin-top: 1em;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Offset&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Size&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Purpose&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;0000&lt;sub style="line-height: 1em;"&gt;h&lt;/sub&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2 bytes&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://bits.wikimedia.org/skins-1.5/vector/images/bullet-icon.png?1); list-style-type: square; margin-bottom: 0.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;&lt;b&gt;BM&lt;/b&gt;&amp;nbsp;– Windows 3.1x, 95, NT, ... etc.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;&lt;b&gt;BA&lt;/b&gt;&amp;nbsp;– OS/2 Bitmap Array&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;&lt;b&gt;CI&lt;/b&gt;&amp;nbsp;– OS/2 Color Icon&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;&lt;b&gt;CP&lt;/b&gt;&amp;nbsp;– OS/2 Color Pointer&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;&lt;b&gt;IC&lt;/b&gt;&amp;nbsp;– OS/2 Icon&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;&lt;b&gt;PT&lt;/b&gt;&amp;nbsp;– OS/2 Pointer&lt;/li&gt;
&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;0002&lt;sub style="line-height: 1em;"&gt;h&lt;/sub&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4 bytes&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;BMP file size in bytes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;0006&lt;sub style="line-height: 1em;"&gt;h&lt;/sub&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2 bytes&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;reserved&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;0008&lt;sub style="line-height: 1em;"&gt;h&lt;/sub&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2 bytes&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;reserved&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;000A&lt;sub style="line-height: 1em;"&gt;h&lt;/sub&gt;&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4 bytes&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;the&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Offset_(computer_science)" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Offset (computer science)"&gt;offset&lt;/a&gt;, i.e. starting address, of the byte where the bitmap data can be found.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4313658265816945577&amp;amp;postID=1992377235626849612" name="Bitmap File Header Field details"&gt;Bitmap File Header Field details:&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidqiSftnT97Eaib8xKjoQg-vWiKUC5lRnh3NTITAcFKYpcP27DAo3GEG0YMyrcuYqfWOLIv-_YzhPqpA4kCOSysm7AApoP1VIiAvLyb4VfjxHGU39fHd7dv6ETXU7eCxdl-u2DrMfmhHg/s1600/hex+header.PNG" imageanchor="1"&gt;&lt;img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidqiSftnT97Eaib8xKjoQg-vWiKUC5lRnh3NTITAcFKYpcP27DAo3GEG0YMyrcuYqfWOLIv-_YzhPqpA4kCOSysm7AApoP1VIiAvLyb4VfjxHGU39fHd7dv6ETXU7eCxdl-u2DrMfmhHg/s320/hex+header.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;b&gt;&lt;i&gt;Identifier:&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&amp;nbsp;                       &lt;/span&gt;From the &lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTUJDOFMS5BrIDwV3dsjwEVBFwNiEcC1GzO1yvctyvq-Vdtke4gO5YcAMsbTS9xRAyyCfon2ZzVxd7YGKLF5E_1Tgenb8NYazKnK3tleI95t30LdhAyTM46ey_Gs7u3ITj-8SSHlKnFN8/s1600/Sample+Bitmap+Image.bmp"&gt;sample image&lt;/a&gt;. The first two bytes are the identity bytes so it's 'B' and 'M'. &lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;i&gt;&lt;b&gt;File Size:&lt;/b&gt;&lt;/i&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The Image size is 47174 bytes (refer size.png). 47174 equvalent of &amp;nbsp;hex value is B846. The image representation is little-endian so the value becomes 05 th byte = 00, 04 th byte = 00, 03rd byte = B8, 02 nd byte = 46.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQN3Pa02m7LS0KxfMNSXDQnnLNa4jEEJhAbvRiapxCrcCVQ-jjH145awnnJWI7_QMlfRLjw5Pa5BfxYi2vZ4R2rU0yFPX1Yv6iuNt4PIUVVCSsAwzuMWzL52Ki7rFlPdB3tDu1ZnBAFd0/s1600/size.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQN3Pa02m7LS0KxfMNSXDQnnLNa4jEEJhAbvRiapxCrcCVQ-jjH145awnnJWI7_QMlfRLjw5Pa5BfxYi2vZ4R2rU0yFPX1Yv6iuNt4PIUVVCSsAwzuMWzL52Ki7rFlPdB3tDu1ZnBAFd0/s320/size.PNG" width="230" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;b&gt;&lt;i&gt;Reserved:&lt;/i&gt;&lt;/b&gt;&amp;nbsp;&amp;nbsp;Bytes 6,7,8 and 9 are reserved so its value will be zero&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;b&gt;&lt;i&gt;Offset&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;: Starting address of bitmap data. I.e the starting address of the bitmap data. In the sample image it is 36 (Represented in byte 0Ah) because it does have any extra color&amp;nbsp;palate&amp;nbsp;data or header information so it would be 36.&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;Bitmap Information (DIB header):&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The header bytes show the detailed information of BMP image. Here I am giving five versions of header two from IBM OS 2 versions and three from Microsoft versions. Because Microsoft extended the DIB format several times. So that the new header format is used &amp;nbsp;instead of the older ones for providing more functionality. Since windows GDI loads the bitmap file into the system.&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table class="wikitable" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; font-size: 13px; margin-bottom: 1em; margin-left: auto; margin-right: auto; margin-top: 1em;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Size&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Header&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Identified by&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Supported by the GDI of&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;12&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;OS/2 V1&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;BITMAPCOREHEADER&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;OS/2 and &lt;a href="http://en.wikipedia.org/wiki/Windows_3.0" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Windows 3.0"&gt;Windows 3.0&lt;/a&gt;&amp;nbsp;and above&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;64&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;OS/2 V2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;BITMAPCOREHEADER2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;40&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Windows V3&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;BITMAPINFOHEADER&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Windows_3.0" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Windows 3.0"&gt;Windows 3.0&lt;/a&gt;&amp;nbsp;and above&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;108&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Windows V4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;BITMAPV4HEADER&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Windows&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Windows_95" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Windows 95"&gt;95&lt;/a&gt;/&lt;a href="http://en.wikipedia.org/wiki/Windows_NT_4.0" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Windows NT 4.0"&gt;NT4&lt;/a&gt;&amp;nbsp;and above&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;124&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Windows V5&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;BITMAPV5HEADER&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Windows&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Windows_98" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Windows 98"&gt;98&lt;/a&gt;/&lt;a href="http://en.wikipedia.org/wiki/Windows_2000" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;" title="Windows 2000"&gt;2000&lt;/a&gt;&amp;nbsp;and above&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;The table has all the five formats of header information’s. From the size of the header system identifies which version of header is used. The header size is in offset 0Eh.&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;BITMAPCOREHEADER &amp;nbsp;or OS/2 V1 Header Structure&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&amp;nbsp;              &lt;/span&gt;This structure is used in all OS/2 and also all Windows versions since Windows 3.0. This is a simple structure its size is 12 bytes. It has size, width, height, planes and bitcount. The offset and byte values are shown in the following table. This is also called as OS/2 V1 bitmaps. This format does not use any compression algorithms and it does not have 16 or 32 bit depths. The values in the header are unsigned integers. 32 bit version with alpha channel is introduced in Windows XP and it is used for its login screen. It is supported by Adobe Photoshop version 7 and above, Adobe flash and GIMP&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table class="wikitable" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; font-size: 13px; margin-bottom: 1em; margin-left: auto; margin-right: auto; margin-top: 1em;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Offset&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Size&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Purpose&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;Eh&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;size of the header (12 bytes)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;12h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;bitmap width in pixels.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;14h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;bitmap height in pixels.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;16h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;the number of color planes; 1 is the only legal value&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;18h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;the number of bits per pixel. Typical values are 1, 4, 8 and 24.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The typical structure used here is&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;typedef struct tagBITMAPCOREHEADER {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;DWORD bcSize;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp;bcWidth;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp;bcHeight;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp;bcPlanes;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp;bcBitCount;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;} BITMAPCOREHEADER, *PBITMAPCOREHEADER;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BITMAPCOREHEADER2 &amp;nbsp;or OS/2 V2 Header Structure&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&amp;nbsp;             &lt;/span&gt;This version has few additional fields over BITMAPINFOHEADER. The BITMAPINFOHEADER header info is given below. This is also called OS/2 V2 header used in IBM OS/2 Versions. Its header size would be 64 bytes. The typical C structure is given below.&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;typedef struct {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2Size;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2Width;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2Height;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; WORD &amp;nbsp;bc2Planes;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; WORD &amp;nbsp;bc2BitCount;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2Compression;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2SizeImage;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2XRes;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2YRes;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2ClrUsed;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2ClrImportant;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* same as BITMAPINFOHEADER until this point */&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; WORD &amp;nbsp;bc2ResUnit;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; WORD &amp;nbsp;bc2Reserved;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; WORD &amp;nbsp;bc2Orientation;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; WORD &amp;nbsp;bc2Halftoning;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2HalftoneSize1;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2HalftoneSize2;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2ColorSpace;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; DWORD bc2AppData;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;} BITMAPCOREHEADER2;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BITMAPINFOHEADER Header Structure:&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&amp;nbsp;        &lt;/span&gt;All Windows versions since Windows 3.0 uses this header format. Its size is 40 bytes. For compatibility reason almost all versions of OS uses this header format. It has all the information generally used. All values are unsigned integers.&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table class="wikitable" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; color: black; font-size: 13px; margin-bottom: 1em; margin-left: auto; margin-right: auto; margin-top: 1em;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Offset #&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Size&lt;/th&gt;&lt;th style="background-attachment: initial; background-clip: initial; background-color: #f2f2f2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-align: center;"&gt;Purpose&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;0Eh&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;size of the header&amp;nbsp;(40 bytes)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;12h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;bitmap width in pixels (signed integer).&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;16h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;bitmap height in pixels (signed integer).&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;1Ah&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;number of color planes being used. Must be set to 1.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;1Ch&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;the number of bits per pixel, I.e color depth of the image. Values are 1, 4, 8, 16, 24 and 32.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;1Eh&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;compression method being used.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;22h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;image size. This is the size of the raw bitmap data (&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; font-family: sans-serif; line-height: 19px;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;0 for BI_RGB bitmaps&lt;/span&gt;&lt;/span&gt;), and should not be confused with the file size.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;26h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;horizontal resolution of the image. (pixel per meter, signed integer)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2Ah&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;vertical resolution of the image. (pixel per meter, signed integer)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;2Eh&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;number of colors in the color palette, or 0 to default to 2&lt;sup style="line-height: 1em;"&gt;&lt;i&gt;n&lt;/i&gt;&lt;/sup&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;32h&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;4&lt;/td&gt;&lt;td style="border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em;"&gt;number of important colors used, or 0 when every color is important; generally ignored.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;The sample image has BITMAPINFOHEADER header which is shown in the following image. Verify the offset 0Eh to 11h value would be 26h (=40 in decimal).&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCSkZSUHW-anB4bcExe6OExkdHLWHzkW0pE0ueYsaQUQ-9bf2dPDtFN3C8gl4CbRXIVkUCwqih562JEFrpuhUTQlwZ0hnhVEfK_ZVBFFXriVtxwSNjZ0oroTKR1Qx6f1f8oe1mirw8ExU/s1600/DIP+Header.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCSkZSUHW-anB4bcExe6OExkdHLWHzkW0pE0ueYsaQUQ-9bf2dPDtFN3C8gl4CbRXIVkUCwqih562JEFrpuhUTQlwZ0hnhVEfK_ZVBFFXriVtxwSNjZ0oroTKR1Qx6f1f8oe1mirw8ExU/s640/DIP+Header.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;typedef struct {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;uint32_t header_sz;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;int32_t width;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;int32_t height;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;uint16_t nplanes;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;uint16_t bitspp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;uint32_t compress_type;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;uint32_t bmp_bytesz;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;int32_t hres;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;int32_t vres;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;uint32_t ncolors;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;uint32_t nimpcolors;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;} bmp_dib_v3_header_t;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bitmap Compression Methods.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&amp;nbsp;             &lt;/span&gt;The following compression methods are used in BMP Image which are shown in the following table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table style="border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; width: 659px;"&gt;&lt;tbody&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;th style="background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;"&gt;Value&lt;/th&gt;&lt;th style="background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;"&gt;Meaning&lt;/th&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;BI_RGB&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;An uncompressed format.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;BI_RLE8&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;RLE compression format for bitmaps with 8 bpp. The compression format is a two-byte format consisting of a count byte followed by a byte containing a color index. If&amp;nbsp;&lt;strong&gt;bV5Compression&lt;/strong&gt;&amp;nbsp;is BI_RGB and the&amp;nbsp;&lt;strong&gt;bV5BitCount&lt;/strong&gt;member is 16, 24, or 32, the bitmap array specifies the actual intensities of blue, green, and red rather than using color table indexes.&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;BI_RLE4&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;RLE compression format&amp;nbsp;for bitmaps with 4 bpp. The compression format is a two-byte format consisting of a count byte followed by two word-length color indexes.&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;BI_BITFIELDS&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;Specifies that the bitmap is not compressed and that the color table consists of three&amp;nbsp;&lt;strong&gt;DWORD&lt;/strong&gt;&amp;nbsp;color masks that specify the red, green, and blue components of each pixel. Valid when used with 16- and 32-bpp bitmaps.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;BI_JPEG&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;JPEG Compression is used. It can achieve a compression ratio of 20:1 with little noticeable loss.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: top;"&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;BI_PNG&lt;/td&gt;&lt;td style="background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;"&gt;PNG file Interchange Format compression.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;typedef enum {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;BI_RGB = 0,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;BI_RLE8,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;BI_RLE4,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;BI_BITFIELDS,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;BI_JPEG,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;BI_PNG,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;} bmp_compression_method_t;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BITMAPV4HEADER Structure:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-tab-span"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&amp;nbsp;               &lt;/span&gt;The BITMAPV4HEADER structure is an extended version of the BITMAPINFOHEADER structure. This header size is 108 bytes. It is supported by Windows 95/NT4 and above. The C structure for this header is&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;typedef struct {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4Size;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV4Width;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV4Height;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV4Planes;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV4BitCount;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4V4Compression;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4SizeImage;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV4XPelsPerMeter;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV4YPelsPerMeter;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4ClrUsed;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4ClrImportant;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4RedMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4GreenMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4BlueMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4AlphaMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4CSType;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;CIEXYZTRIPLE bV4Endpoints;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4GammaRed;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4GammaGreen;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV4GammaBlue;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;} BITMAPV4HEADER, *PBITMAPV4HEADER;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
refer : &lt;a href="http://msdn.microsoft.com/en-us/library/dd183380(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/dd183380(VS.85).aspx&lt;/a&gt; for more about BITMAPV4HEADER Structure.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BITMAPV5HEADER Structure:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The BITMAPV4HEADER structure is also an extended version of the BITMAPINFOHEADER structure. This header size is 124 bytes. It is supported by Windows 98/2000 and above. The C structure for this header is&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;typedef struct {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5Size;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV5Width;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV5Height;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV5Planes;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;WORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV5BitCount;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5Compression;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5SizeImage;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV5XPelsPerMeter;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;LONG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bV5YPelsPerMeter;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5ClrUsed;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5ClrImportant;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5RedMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5GreenMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5BlueMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5AlphaMask;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5CSType;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;CIEXYZTRIPLE bV5Endpoints;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5GammaRed;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5GammaGreen;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5GammaBlue;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5Intent;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5ProfileData;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5ProfileSize;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;DWORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bV5Reserved;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;} BITMAPV5HEADER, *PBITMAPV5HEADER;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
refer : &lt;a href="http://msdn.microsoft.com/en-us/library/dd183381(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/dd183381(VS.85).aspx&lt;/a&gt; for more about BITMAPV5HEADER Structure.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;</description><link>http://imageformatsinfo.blogspot.com/2010/10/bmp-image-format.html</link><author>noreply@blogger.com (Image Formats)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTUJDOFMS5BrIDwV3dsjwEVBFwNiEcC1GzO1yvctyvq-Vdtke4gO5YcAMsbTS9xRAyyCfon2ZzVxd7YGKLF5E_1Tgenb8NYazKnK3tleI95t30LdhAyTM46ey_Gs7u3ITj-8SSHlKnFN8/s72-c/Sample+Bitmap+Image.bmp" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4313658265816945577.post-3787146650873875243</guid><pubDate>Tue, 18 May 2010 04:22:00 +0000</pubDate><atom:updated>2010-05-17T21:22:58.871-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mobile Internet</category><title>Internet connection through mobile</title><description>&lt;strong&gt;Introduction:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align="justify"&gt;Present world covered by technology. Today every person have mobile phone and some person have Personal computer for their own use. Can we connect internet service to your personal computer through mobile phone?. Yes today it is possible. This blogspot will expain how to connect between PC and mobile for internet use.&lt;/div&gt;&lt;br /&gt;
&lt;strong&gt;About GPRS connection:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align="justify"&gt;General packet radio service (GPRS) is a packet oriented mobile data service available to users of the 2G cellular communication systems global system for mobile communications (GSM), as well as in the 3G systems. In 2G systems, GPRS provides data rates of 56-115 kbit/s.&lt;/div&gt;&lt;br /&gt;
&lt;strong&gt;GPRS Service provider in Tamilnadu circle: &lt;/strong&gt;Aircel, Airtel, BSNL, Reliance, Vodafone, etc.,&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;How to connect?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I would like to give some steps &amp;nbsp;to make a internet connction.&lt;br /&gt;
&lt;br /&gt;
Step 1: First you have to check your mobile web option is available or not? &lt;br /&gt;
Incase this mobile web option is not &amp;nbsp;available in your mobile, you can not make GPRS connection.&lt;br /&gt;
&lt;br /&gt;
Step 2: &amp;nbsp;Just call to your mobile service provider to activate GPRS connection. Then they will send GPRS setup to your mobile phone.&lt;br /&gt;
&lt;br /&gt;
Step 3: After saved your mobile setup,just check up GPRS connections is working properly in your mobile.&lt;br /&gt;
&lt;br /&gt;
Step 4: Install your PC suite software to your PC. This PC suite comes with your new mobile. If you don't have PC suite software, just go to your mobile maker website. Then download your PC suite according to your mobile model.&lt;br /&gt;
&lt;br /&gt;
Step 5: Two options are there to connect from Mobile to computer.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option 1: connecting through mobile data cable&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option 2: connecting through Bluetooth device&lt;br /&gt;
&lt;br /&gt;
Note: After connect your mobile to PC, you Mobile will act as Modem.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Step 6: &amp;nbsp;You have to create new network connection in your Personal computer. Then ask to your service provider to setup &amp;nbsp;new modem.&lt;br /&gt;
&lt;br /&gt;
Step 7: Finally start your browser in your PC. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Example&lt;/strong&gt;:&lt;br /&gt;
&lt;br /&gt;
Mobile model: Sony ericsson W350i&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;b&gt;Mobile to pc internet connection for sony ericssion mobile.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; It is very esay if you are use sony ericsson mobiles. First install &amp;nbsp;your mobile PC suite to PC . PC suite means, it is like as a software, This software CD has been given to you when you bought new mobile.&lt;br /&gt;
&lt;br /&gt;
In case you do not have PC suite CD. download the appropriate sony ericsson pc suite for your mobile model from sony ericsson web site(&lt;a href="http://www.sonyericsson.com/cws/support/phones/w350i?cc=gb&amp;amp;lc=en"&gt;http://www.sonyericsson.com/cws/support/phones/w350i?cc=gb&amp;amp;lc=en&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; After installing the pc suite in your PC, then run PC suite software. As far as Sony ericsson is concern, do not need to create any new network connection in your PC. This Sony PC suite have small option to create new network connection. This option is located below the PC and web logo in PC suite software. click that option then make a network connection.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect your phone to the PC with data card. mobile phone asks the connection type choose phone mode as the connection type in the mobile.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM8QAyKxkEdSYP9au7gx0D5Q4gVniXJ9CP_ADxtB033PNKtHzoTw6zFHQWdXdcxrSWmC_hMa7GRjqaoAglS1pnbvPXVcFxYqPZpCeB0FjozuHBWXJ75ALINSr-c15GU410HiU6zA8dgkM/s1600-h/sony1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM8QAyKxkEdSYP9au7gx0D5Q4gVniXJ9CP_ADxtB033PNKtHzoTw6zFHQWdXdcxrSWmC_hMa7GRjqaoAglS1pnbvPXVcFxYqPZpCeB0FjozuHBWXJ75ALINSr-c15GU410HiU6zA8dgkM/s320/sony1.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Select internet connect in the left side of menu panel. &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhglsPxfITj_EfsyEbLGdQblnp3yat0BAg05GwzLvAnqIqRdUD3QEgO3YuqpZoRT_VP0a5quiZqZ4wF4SO2KeqdDOgLG6nkPBSTt7scUuUe5J0QmQU9fFFI5-T5TOge5wita2W5diAlr5Q/s1600-h/sony2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhglsPxfITj_EfsyEbLGdQblnp3yat0BAg05GwzLvAnqIqRdUD3QEgO3YuqpZoRT_VP0a5quiZqZ4wF4SO2KeqdDOgLG6nkPBSTt7scUuUe5J0QmQU9fFFI5-T5TOge5wita2W5diAlr5Q/s320/sony2.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Then press connect in the first time it asks country, region etc.. give appropriate values then go next, next etc.&amp;nbsp; You must give APN (Access Point Name) correctly. Otherwise you can not make any connection in your PC. For example,&amp;nbsp; if you are using Aircel give APN as &lt;strong&gt;aircelgprs.pr&lt;/strong&gt; for other networks the apn is available in the mobile internet settings. then press next,next, last you can connected with the internet.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Mobile to PC internet connection for Nokia cell phones..&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; First you activated the GPRS connection from the gprs service provider.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Download the appropriate pc suite for your mobile model from nokia website. (&lt;a href="http://www.nokia-asia.com/get-support-and-software/download-software/nokia-pc-suite"&gt;http://www.nokia-asia.com/get-support-and-software/download-software/nokia-pc-suite&lt;/a&gt;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Install Mobile PC suite in your PC.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; connect your phone to PC through data cable.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Open your PC suite in your PC. it will ask connection type,&amp;nbsp; choose as cable connection or Bluetooth. Then proceed further.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; If your pc or laptop has Bluetooth. then we can connect the internet through blutooth in both nokia and sony ericsson mobiles.&lt;br /&gt;
&lt;br /&gt;
Note : If you are in very trouble to make an internet connection in your PC, please contact your mobile service provider. They will help to you.&lt;br /&gt;
&lt;br /&gt;
Thank you very much.</description><link>http://imageformatsinfo.blogspot.com/2010/05/internet-connection-through-mobile.html</link><author>noreply@blogger.com (Image Formats)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM8QAyKxkEdSYP9au7gx0D5Q4gVniXJ9CP_ADxtB033PNKtHzoTw6zFHQWdXdcxrSWmC_hMa7GRjqaoAglS1pnbvPXVcFxYqPZpCeB0FjozuHBWXJ75ALINSr-c15GU410HiU6zA8dgkM/s72-c/sony1.JPG" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4313658265816945577.post-7288345470188090372</guid><pubDate>Wed, 12 May 2010 08:11:00 +0000</pubDate><atom:updated>2010-05-12T01:11:30.834-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">FFMPEG WMV3</category><title>FFMPEG WMV3 Encoding</title><description>&lt;strong&gt;&lt;span style="font-size: large;"&gt;FFMPEG&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ffmpeg is a open source project used to convert one video format to other video. it supports many formats&lt;br /&gt;
but not all formats. the input and output formats supported by the ffmpeg is available at&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://en.wikipedia.org/wiki/FFmpeg"&gt;http://en.wikipedia.org/wiki/FFmpeg&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The compleate document about the ffmpeg is available at &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://ffmpeg.org/ffmpeg-doc.html"&gt;http://ffmpeg.org/ffmpeg-doc.html&lt;/a&gt;&lt;br /&gt;
The recent version of ffmpeg is revision 19159. The source code is available at &lt;a href="http://sourceforge.net/projects/mplayer-win32/files/"&gt;http://sourceforge.net/projects/mplayer-win32/files/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-size: large;"&gt;FFMPEG WMV3 Encoding Support&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
ffmpeg accepts WMV3 or wmv9 encoding files as input. as per the ffmpeg documentation ffmpeg has wmv3/wmv9 docoder but it does not have wmv3/wmv9 encoder.&lt;br /&gt;
&lt;br /&gt;
so it cann't convert video to wmv3 format. but it accepts wmv3 as input and convert this into any other formats supported by ffmpeg.&lt;br /&gt;
Denis Fortin provide a wmv3 encoder patch for ffmpeg. but it was writtern two years back. i.e the version it is writtern for revision 9426. which is available in&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-June/031695.html"&gt;http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-June/031695.html&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The patch file available at &lt;a href="http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070625/bbadb401/attachment.bin"&gt;http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070625/bbadb401/attachment.bin&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The above patch does support for the current version available in the svn. I tried to apply pacth manualy but i am not able to find few lines of code in &lt;br /&gt;
&lt;br /&gt;
mpegvideo.c , allcodecs.h etc..&lt;br /&gt;
&lt;br /&gt;
As my form search in web mostly of them said that Microsoft did not give wmv3/wmv9 specification to any others. So FFMPEG supports wmv3/wmv9 decoding but not encode.</description><link>http://imageformatsinfo.blogspot.com/2010/05/ffmpeg-wmv3-encoding.html</link><author>noreply@blogger.com (Image Formats)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4313658265816945577.post-1632724867391952993</guid><pubDate>Sun, 07 Mar 2010 16:15:00 +0000</pubDate><atom:updated>2010-03-07T08:15:52.049-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Image Dimensions</category><title>Image Dimensions:</title><description>&lt;strong&gt;Image Dimensions:&lt;/strong&gt;&lt;br /&gt;
The dimension image is defined as the width and height of that image. I.e. number of horizontal pixels (width) and the number of vertical pixels (height).&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
If an image has the dimension 1200x1600 means its width is 1200 pixels and the height is 1600 pixels. The dimension 80x60 and 200x150 are given below as the sample images.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB9smu-PFOrjDswEogtBw0ZWva_NfROXDBrbZV_hrZps0wNdwHtFc-F4bCHrmJswWDivFLb3ACWka5QAHSLLfPA6QwJqyxl-vNm5AVxUjvFqoxbQdhFH3MwAARNldhwH59QX3zHAqjSyc/s1600-h/80x60.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" kt="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB9smu-PFOrjDswEogtBw0ZWva_NfROXDBrbZV_hrZps0wNdwHtFc-F4bCHrmJswWDivFLb3ACWka5QAHSLLfPA6QwJqyxl-vNm5AVxUjvFqoxbQdhFH3MwAARNldhwH59QX3zHAqjSyc/s320/80x60.jpg" /&gt;&lt;/a&gt;80x60&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJQLcPtzySR7x9xtTWsTV9-tDZvcoO3K2_HTGiKsXefI_aMk7GePQluVDaD-kS_D3ibkCpDcJHrhAcf08_VITe2ofiU8_jRr_oxsyNj5R8KieoK6THAseH9Bjg-S8ku9uygzETZHtYOhk/s1600-h/200x150.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" kt="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJQLcPtzySR7x9xtTWsTV9-tDZvcoO3K2_HTGiKsXefI_aMk7GePQluVDaD-kS_D3ibkCpDcJHrhAcf08_VITe2ofiU8_jRr_oxsyNj5R8KieoK6THAseH9Bjg-S8ku9uygzETZHtYOhk/s320/200x150.jpg" /&gt;&lt;/a&gt;200x150&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Higher the image dimensions higher the image size. The image dimension is available at Right Click Image -&amp;gt; Properties -&amp;gt;Advanced -&amp;gt; summery.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Image Resolution: Dots per Inch (DPI)&lt;/strong&gt;&lt;br /&gt;
It is defined as the number of pixels per inch. Pixels are also called as dots. Dots per inch represent how many dots or pixels available in an inch. It varies image to image and hardware to hardware which displays the image.&lt;br /&gt;
&lt;strong&gt;DPI for CRT Monitors and LCD Displays:&lt;/strong&gt;&lt;br /&gt;
The commercial CRT monitors and LCD displays have 96 Dots per inch. To get the DPI values for normal CRT monitors Right Click in Desktop -&amp;gt; Properties -&amp;gt; Settings tab-&amp;gt; Advanced. The following image shows an CRT monitor DPI as 96 as normal size.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjelG0gou6oVzbN0p43PNiqJ5fo-l18du1bKhtxzLJ4SSIm-zmyoLAaiM_4c_2W40CtrAUFIKAyY6VD6a631bPuobTKG_MnK2z4l-DUpJpZsBIEFgqnC25dru1XBjUTKa8rQ82qZXbm1Ok/s1600-h/DPI.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" kt="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjelG0gou6oVzbN0p43PNiqJ5fo-l18du1bKhtxzLJ4SSIm-zmyoLAaiM_4c_2W40CtrAUFIKAyY6VD6a631bPuobTKG_MnK2z4l-DUpJpZsBIEFgqnC25dru1XBjUTKa8rQ82qZXbm1Ok/s400/DPI.PNG" width="343" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;strong&gt;DPI for Printers :&lt;/strong&gt;&lt;br /&gt;
The printers DPI varies from 200 to 300 depends on the printers. Normally the DPI value for printers would be 300. If we need the output image size is 3x4 inch then the image dimension would be 900x1200 for 300 DPI printer. &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;</description><link>http://imageformatsinfo.blogspot.com/2010/03/image-dimensions.html</link><author>noreply@blogger.com (Image Formats)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB9smu-PFOrjDswEogtBw0ZWva_NfROXDBrbZV_hrZps0wNdwHtFc-F4bCHrmJswWDivFLb3ACWka5QAHSLLfPA6QwJqyxl-vNm5AVxUjvFqoxbQdhFH3MwAARNldhwH59QX3zHAqjSyc/s72-c/80x60.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4313658265816945577.post-4278950467313935160</guid><pubDate>Mon, 01 Mar 2010 15:49:00 +0000</pubDate><atom:updated>2010-03-01T07:49:45.582-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Image Bit Depth</category><category domain="http://www.blogger.com/atom/ns#">Image Color Depth</category><title>Image Bit Depth or Color Depth of an Image.</title><description>&lt;div style="margin: 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;b&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;Image Bit Depth or Color Depth of an Image.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt; The number of b&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;its &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;required to store&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt; each pixel&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;’s&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt; color information. It depends on the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;image formats and the numbers of colors the images have. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;It ultimately shows the number of unique colors available in the image.&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;Higher the bit depths have&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt; the high image quality &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;i.e.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt; higher the bit depth or color depth the number unique color is high.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiptT1YxfNX59H_h0Cphf6EAx1hBYQDj6oZfD4Lxa247WphHjn0UkK7cChQ0dZaR06XbRZVAsB90KXY5_n5l1yXNr4LwTztgHoXix-jW4dFG28qS3_sKmDnIFP617DCYCjtGXjuNrn-6Co/s1600-h/24+Bit.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiptT1YxfNX59H_h0Cphf6EAx1hBYQDj6oZfD4Lxa247WphHjn0UkK7cChQ0dZaR06XbRZVAsB90KXY5_n5l1yXNr4LwTztgHoXix-jW4dFG28qS3_sKmDnIFP617DCYCjtGXjuNrn-6Co/s400/24+Bit.JPG" width="283" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;b&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;For example.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;If the Color depth of an image is 8 means it &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;has&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt; 256 unique colors.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Color depth = 8;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number of unique colors = 2^8 = 256&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin: 0pt;"&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;Depends on the number of colors b&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;it depth can be&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt; classified as the following&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;1 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;2 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;3 bit images &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;4 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;5 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;6 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;7 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;8 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;24 bit images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;32 images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;span style="font-family: 'Times New Roman';"&gt;&lt;span style="font-size: small;"&gt;48 images&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://imageformatsinfo.blogspot.com/2010/03/image-bit-depth-or-color-depth-of-image.html</link><author>noreply@blogger.com (Image Formats)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiptT1YxfNX59H_h0Cphf6EAx1hBYQDj6oZfD4Lxa247WphHjn0UkK7cChQ0dZaR06XbRZVAsB90KXY5_n5l1yXNr4LwTztgHoXix-jW4dFG28qS3_sKmDnIFP617DCYCjtGXjuNrn-6Co/s72-c/24+Bit.JPG" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4313658265816945577.post-5079433137207923629</guid><pubDate>Thu, 25 Feb 2010 15:22:00 +0000</pubDate><atom:updated>2010-02-25T07:25:49.308-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Data Compression</category><category domain="http://www.blogger.com/atom/ns#">Image Compression</category><category domain="http://www.blogger.com/atom/ns#">RLE Compression</category><title>RLE Encoding</title><description>&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RLE – Run Length Encoding:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt; It is a famous lossless compression algorithm widely used in many data compression applications and used with many image compression algorithms. In Run Length Encoding method the consecutive same data is compressed. This technique used in few type of BMP image formats particularly 8 bit and 16 bit BMP images, JPEG images and almost all compression application software like winzip, winrar etc..&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RLE – Run Length Encoding Example.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; Input data :  qqqqqqqqqqwwwrrrrqqqqqqqiiioooopppppp&lt;br /&gt; RLE compressed Data : 10q3w4r7q3i4o6p&lt;br /&gt;&lt;br /&gt;Let’s consider the above sample data, in RLE compression the count and the data value is represented. i.e q is repeated at 10 times instead of writing ten q it can be written as 10q. likewise all other data’s are written.&lt;br /&gt; &lt;br /&gt;Compression ratio = (37 (total number of chars in input data) - 15 (required no of chars to represent the data) ) / 37 * 100&lt;br /&gt;  = 59.5 %&lt;br /&gt;&lt;br /&gt; Compression ratio for above case is 59.5 %;&lt;br /&gt;&lt;br /&gt; Input data    : qwertyqwerty&lt;br /&gt; RLE compressed Data : 1q1w1e1r1t1y1q1w1e1r1t1y&lt;br /&gt;&lt;br /&gt;In the above sample the compression ratio is -100%. I.e. negative compression. From the above two example RLE compression is good only when the data is repeated one. Otherwise it would give negative compression.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Advantages : &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. During implementation just one pass is required to compress the input data.&lt;br /&gt;2. Easy understanding.&lt;br /&gt;3. Less memory requirement.&lt;br /&gt;4. High compression ratio on repeated data input.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Disadvantages:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. If the data is not repeated one then the compression ratio would be negative.</description><link>http://imageformatsinfo.blogspot.com/2010/02/rle-encoding.html</link><author>noreply@blogger.com (Image Formats)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4313658265816945577.post-3945673436101542601</guid><pubDate>Tue, 23 Feb 2010 16:18:00 +0000</pubDate><atom:updated>2010-02-25T07:22:17.169-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Data Compression</category><category domain="http://www.blogger.com/atom/ns#">Image Compression</category><title>ARITHMETIC CODING</title><description>&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;strong&gt;ARITHMETIC CODING:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div align="justify"&gt;   In arithmetic coding, Input data is represented by an interval of real numbers between 0 and 1. As the input data is large, the interval required to represent is smaller, i.e. the number of bits required to specify the interval increases. Successive symbols of the input data reduce the size of the interval according with the symbol probabilities generated by the arithmetic encoding. The repeated symbols reduce the range by less than the unlikely symbols and hence add fewer bits to the input data. The range of input data is the entire interval zero to one (0, l), which denotes the half-open interval 0.5 &lt;&gt; 1&lt;br /&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;strong&gt;ARITHMETIC CODING Example:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Fixed model (alphabet is (a, e, i, o, u,!)) is used with the following probabilities shown in the Table. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg81GHfSJ17ac25FCZtQBBg1aNTkqwFQZ9eeNNDRa5mLGn_B26f4HMZmBFEDnZKfcdX_mWFG9CMSMq0D1MukbUaIEEM0mvCIQBHkRo7F6Wb2dfHq-SDPhyk1D6wnaGc75UlpeIeMujlZK0/s1600-h/Arithmetic0.PNG"&gt;&lt;img style="cursor: pointer; width: 593px; height: 188px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg81GHfSJ17ac25FCZtQBBg1aNTkqwFQZ9eeNNDRa5mLGn_B26f4HMZmBFEDnZKfcdX_mWFG9CMSMq0D1MukbUaIEEM0mvCIQBHkRo7F6Wb2dfHq-SDPhyk1D6wnaGc75UlpeIeMujlZK0/s320/Arithmetic0.PNG" alt="" id="BLOGGER_PHOTO_ID_5442199768132555826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;Let’s take the input data become eaii!. Initially, both encoder and decoder know that the range is (0, 1).&lt;br /&gt;&lt;br /&gt;From first symbol, e, the encoder narrows it to [0.2, 04],&lt;br /&gt;The second symbol, a, will narrow this new range to the first one-fifth of it. Like the following&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSrrnQ4c9WXMuGgkMSUMwKGpH-8up_rEuR-vyR0rVrRTDD7KWZX_kLfukkcyzV48LZrbFZO2fK0C4xvl3CHEE6t63I6xrAt68mjyI8ESrliXILaXPEYGrbJAIvWzWG_1nym2oSd9Td68o/s1600-h/Arithmetic1.PNG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 289px; height: 129px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSrrnQ4c9WXMuGgkMSUMwKGpH-8up_rEuR-vyR0rVrRTDD7KWZX_kLfukkcyzV48LZrbFZO2fK0C4xvl3CHEE6t63I6xrAt68mjyI8ESrliXILaXPEYGrbJAIvWzWG_1nym2oSd9Td68o/s320/Arithmetic1.PNG" alt="" id="BLOGGER_PHOTO_ID_5442200242789840082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;Representation of the Arithmetic Coding Process:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkKydOXbi3vL9MYlACwsHvqiKvitJyQxGR531mTxChymFxxfDmXfvGRTLD2l5RiviGsNdZuuejkB-k0EpH930IUhwq5Y8r-_q8-4TXdRsrD8BK5QrmsfyvuwR1wCZ7X1tyFMpQPsiDkLc/s1600-h/Arithmetic2.PNG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 237px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkKydOXbi3vL9MYlACwsHvqiKvitJyQxGR531mTxChymFxxfDmXfvGRTLD2l5RiviGsNdZuuejkB-k0EpH930IUhwq5Y8r-_q8-4TXdRsrD8BK5QrmsfyvuwR1wCZ7X1tyFMpQPsiDkLc/s320/Arithmetic2.PNG" alt="" id="BLOGGER_PHOTO_ID_5442200785384474226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Suppose the input data is like a, aa, aaa, aaaa, the encoded number will be 0.0. To solve this ambiguity, In data model each data ends with a special EOF symbol known to both encoder and decoder. In the above table ! would be the EOF.&lt;br /&gt;&lt;br /&gt;The Entropy of eaii! Is&lt;br /&gt;-log0.3 – log0.2 – log0.1 – log0.1 – log0.1&lt;br /&gt;= - log0.00006 ≈ 4.22 &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2uD-ZhINYTPZ2x0pehr0sj-6QTDFXv9K80wMsK7ozZ5JlugvJ1biLI4kkUd4qBtRiY5X-OtooU6oZv1QQldK4Ku15obeHjuK5N6z3_TyoXqLCZKaveyn1UaYvmAKsBLxiqN8si9qmB2Q/s1600-h/Arithmetic3.PNG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 560px; height: 231px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2uD-ZhINYTPZ2x0pehr0sj-6QTDFXv9K80wMsK7ozZ5JlugvJ1biLI4kkUd4qBtRiY5X-OtooU6oZv1QQldK4Ku15obeHjuK5N6z3_TyoXqLCZKaveyn1UaYvmAKsBLxiqN8si9qmB2Q/s320/Arithmetic3.PNG" alt="" id="BLOGGER_PHOTO_ID_5442201069009394226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Arithmetic Encoding Algorithm:&lt;/span&gt; &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;/* Call Encode_Data repeatedly for each symbol in the input data. */&lt;br /&gt;/* Ensure that a distinguished "terminator" symbol is encoded last, then */&lt;br /&gt;/* transmit any value in the range [low, high]. */&lt;br /&gt;&lt;br /&gt;Encode_Data(symbol, cum-freq)&lt;br /&gt;range = high - low&lt;br /&gt;high = low + range*cum-freq [symbol-1]&lt;br /&gt;low = low + range*cum-freq [symbol]&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;/* ARITHMETIC DECODING ALGORITHM. */&lt;br /&gt;/* "Value" is the number that has been received. */&lt;br /&gt;/* Continue calling Decode_Data until the terminator symbol is returned. */&lt;br /&gt;&lt;br /&gt;Decode_Data(cum-freq)&lt;br /&gt;find symbol such that&lt;br /&gt;cum-freq[symbol] &lt;= (value-low)/(high-low) &lt;&gt;&lt;div align="justify"&gt; range = high - low &lt;/div&gt;&lt;div align="justify"&gt;high = low + range*cum-freq[symbol-1] &lt;/div&gt;&lt;div align="justify"&gt;low = low + range*cum-freq[symbol] &lt;/div&gt;&lt;div align="justify"&gt;return symbol &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://imageformatsinfo.blogspot.com/2010/02/arithmetic-coding.html</link><author>noreply@blogger.com (Image Formats)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg81GHfSJ17ac25FCZtQBBg1aNTkqwFQZ9eeNNDRa5mLGn_B26f4HMZmBFEDnZKfcdX_mWFG9CMSMq0D1MukbUaIEEM0mvCIQBHkRo7F6Wb2dfHq-SDPhyk1D6wnaGc75UlpeIeMujlZK0/s72-c/Arithmetic0.PNG" width="72"/><thr:total>0</thr:total></item></channel></rss>