|
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>PixelMap.ReorderBGRtoRGB Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">PixelMap Class Library</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">PixelMap.ReorderBGRtoRGB�Method�</h1>
</div>
</div>
<div id="nstext">
<p> As it stands, the native byte order in .pbm, .pgm, and .ppm images is BGR. We need to reverse the order into RGB as this is what is needed for 24bppRGB bitmap pixel format on Windows. </p>
<div class="syntax">private�<a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Void.htm">void</a>�ReorderBGRtoRGB();</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="PixelMap.PixelMap.html">PixelMap Class</a> | <a href="PixelMap.html">PixelMap Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="ReorderBGRtoRGB method">
</param>
<param name="Keyword" value="ReorderBGRtoRGB method, PixelMap class">
</param>
<param name="Keyword" value="PixelMap.ReorderBGRtoRGB method">
</param>
</object>
<hr />
<div id="footer">
<p>
<a href="mailto:StephenBogner@shaw.ca?subject=PixelMap%20Class%20Library%20Documentation%20Feedback:%20PixelMap.ReorderBGRtoRGB�Method�">Send comments on this topic.</a>
</p>
<p>
<a>(c) Copyright 2007 Stephen Bogner. This is an Open Source Contribution. Use as you see fit, at your own risk.</a>
</p>
<p>Generated from assembly PixelMap [1.0.0.0]</p>
</div>
</div>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Stephen Bogner is a Senior Research Engineer with Defence R&D Canada. As the Head Autonomous Applications Group, Autonomous Intelligent Systems Section, he only programs when it can't be avoided, and then only in C#.