I have been working on a pcx decoder in C# and I have managed to read through the header information and retrieve the bpp, scan line length, height, width etc. Now, I'd like to decode the pixels in the scan line and create a Bitmap from the pixelarray, stride, height and width in pixels(which I have) and pixel format (which is the bpp).
How do I go about decoding the scanlines (I have read the technical manual) and then storing them as a pixel array (or pointer to a pixel array) for use with the bitmap.
If anyone could help out, I would really appreciate it, I have done alot of searching and can't find much. I know it's an old format, but it's a project of mine I'd like to complete.