static bool IsOpaque(string filename) { return myOpaqueBitmaps.Contains(Path.GetExtension(filename).ToUpper()); }