private static Byte[] ReadImageFile(String resourcePath, FileStream input) { UnsafeList <Byte> uns = _tiffReader.Read(resourcePath, input); return(uns.CopyToArray()); }