Get RGB and Alpha code from PNG (in C#)
<p>i have a PNG file for which i have to lookup the RGB and Alpha code for a certain pixel.
I've seen many examples in which the RGB code is returned (mostly with the Bitmap class) but the Alpha code seems to be more difficult. I've read here <a href="http://bytes.com/topic/c-sharp/answers/261194-system-drawing-bitmap-alpha" rel="nofollow">http://bytes.com/topic/c-sharp/answers/261194-system-drawing-bitmap-alpha</a> that loading a bitmap loses the Alpha value, but it posts to a 'solution' which is for another file type and i don't understand enough of the example to get it working with the PNG.
Another example was at MSDN with the PngBitmapDecoder class but that one also beats the heck out of me.</p>

<p>I want to put all the code in a DLL also.</p>

<p>Thanks,
Michel</p>
