public static Bitmap LoadPCXFile(string filename) { Color[] palette; return(BitmapBits.ReadPCX(filename, out palette).ToBitmap(palette)); }