<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by Solvan</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Tue, 21 Jul 2026 01:14:04 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>What happen at E2 Lebyhraya Utara Selatan?</title>
            <link>http://forum.lowyat.net/topic/2920271</link>
            <description>Why standstill so long? otw back to KL from South</description>
            <author>Solvan</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Mon, 12 Aug 2013 18:58:24 +0800</pubDate>
        </item>
        <item>
            <title>if the contract ends</title>
            <link>http://forum.lowyat.net/topic/2688866</link>
            <description>i switch work contract, from third party to direct contract. i still have some leftover AL. do they owe me that?&lt;br /&gt;&lt;br /&gt;edit:company work contract</description>
            <author>Solvan</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Thu, 31 Jan 2013 15:15:56 +0800</pubDate>
        </item>
        <item>
            <title>multiple camera program in C#</title>
            <link>http://forum.lowyat.net/topic/2582280</link>
            <description>any idea how to handle multiple camera in C#?&lt;br /&gt;&lt;br /&gt;locking and unlocking everytime updating the bitmap is not ideal for camera more than 10, or at least it is to me.. let say im not trying to display the images, rather i want to convert them into byte array.&lt;br /&gt;to do that, i found an efficient way to do it.. which is&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;private byte&amp;#91;&amp;#93; BitmapToRgbValues&amp;#40;Bitmap bmp&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Lock the bitmap&amp;#39;s bits.&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Rectangle rect = new Rectangle&amp;#40;0, 0, bmp.Width, bmp.Height&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Drawing.Imaging.BitmapData bmpData =&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bmp.LockBits&amp;#40;rect, System.Drawing.Imaging.ImageLockMode.ReadOnly,&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bmp.PixelFormat&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Get the address of the first line.&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IntPtr ptr = bmpData.Scan0;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Declare an array &amp;nbsp;to hold the bytes &amp;nbsp;of the bitmap.&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int bytes = bmpData.Stride * bmp.Height;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte&amp;#91;&amp;#93; rgbValues = new byte&amp;#91;bytes&amp;#93;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Copy the RGB values into the array.&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Runtime.InteropServices.Marshal.Copy&amp;#40;ptr, rgbValues, 0, bytes&amp;#41;; &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bmp.UnlockBits&amp;#40;bmpData&amp;#41;;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return rgbValues;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;but this one would not work ideally on 6 camera onwards. i witness lag on my UI app. any idea, sifus?&lt;br /&gt;&lt;br /&gt;ps: im using ispy which uses aForge framework. so in their frame processing, i sneak this method inside to convert the frame into byte array. this attempt make the program lag on &amp;gt;6 camera onwards.</description>
            <author>Solvan</author>
            <category>Codemasters</category>
            <pubDate>Fri, 09 Nov 2012 11:06:02 +0800</pubDate>
        </item>
    </channel>
</rss>
