public void ReimportFile(ContentRef <Resource> r, string srcFile) { Pixmap p = r.Res as Pixmap; p.LoadPixelData(srcFile); }