Skip to content

Commit b85af32

Browse files
save output image
1 parent e41d6d7 commit b85af32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Samples/StyleTransfer/AppViewModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ public SoftwareBitmapSource OutputSoftwareBitmapSource
7979
set { _outputSoftwareBitmapSource = value; OnPropertyChanged(); }
8080
}
8181

82-
public void SaveOutput()
82+
public async void SaveOutput()
8383
{
8484
// TODO: Take from UIButtonSaveImage_Click
85+
Debug.WriteLine("UIButtonSaveImage_Click");
86+
await ImageHelper.SaveVideoFrameToFilePickedAsync(_appModel.OutputFrame);
8587
return;
8688
}
8789

0 commit comments

Comments
 (0)