public static MemoryStreamImageProxy FromFile(string fullpath) { MemoryStreamImageProxy img = new MemoryStreamImageProxy(); img._url = fullpath; img._name = System.IO.Path.GetFileName(fullpath); img.LoadStreamBuffer(fullpath); return(img); }
public static new MemoryStreamImageProxy FromFile(string fullpath) { var img = new MemoryStreamImageProxy { _url = fullpath, _name = System.IO.Path.GetFileName(fullpath), _extension = System.IO.Path.GetExtension(fullpath) }; img.LoadStreamBuffer(fullpath); return(img); }
public static MemoryStreamImageProxy FromFile(string fullpath) { MemoryStreamImageProxy img = new MemoryStreamImageProxy(); img._url = fullpath; img._name = System.IO.Path.GetFileName(fullpath); img.LoadStreamBuffer(fullpath); return img; }