internal static Image FromFile(string file, ImageTagSet tagFilter) { var toolkit = Toolkit.CurrentEngine; if (toolkit == null) { throw new ToolkitNotInitializedException(); } var loader = new FileImageLoader(toolkit); return(LoadImage(loader, file, tagFilter)); }
public static Image FromFile(string file) { var toolkit = Toolkit.CurrentEngine; if (toolkit == null) { throw new ToolkitNotInitializedException(); } var loader = new FileImageLoader(toolkit); return(LoadImage(loader, file, null)); }
public static Image FromFile(string file) { var toolkit = Toolkit.CurrentEngine; if (toolkit == null) throw new ToolkitNotInitializedException (); var loader = new FileImageLoader (toolkit); return LoadImage (loader, file, null); }