I have this class which is supposed to encode a bitmap by a new bitmap;
class BmpFileEncoder { private List bytes; private string filename;