public void ProcessGray() { DCTestLibrary.PhotoTest pt = new DCTestLibrary.PhotoTest(); WriteableBitmap b = p.getPhoto(); p.setPhoto(pt.Gray(b)); }
public void ProcessGray() { DCTestLibrary.PhotoTest pt = new DCTestLibrary.PhotoTest(); PhotoLayer pl = p.SelectLayer; WriteableBitmap b = pl.ProcPhoto; pl.ProcPhoto = pt.Gray(b); }