public static EPFImage FromRawData(byte[] data, string name) { return(EPFImage.LoadEPF((Stream) new MemoryStream(data), name)); }
public static EPFImage FromFile(string file) { return(EPFImage.LoadEPF((Stream) new FileStream(file, FileMode.Open, FileAccess.Read, FileShare.Read), file)); }