diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 77ba448e2f..97217adfc1 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -4,15 +4,15 @@ true - - - - + + + + - + @@ -25,14 +25,14 @@ - + - + - - - + + + @@ -41,25 +41,25 @@ - + - + - - + + - + - + \ No newline at end of file diff --git a/src/Spice86/ViewModels/Services/HostStorageProvider.cs b/src/Spice86/ViewModels/Services/HostStorageProvider.cs index 4e90d50df9..aa1a90eaa8 100644 --- a/src/Spice86/ViewModels/Services/HostStorageProvider.cs +++ b/src/Spice86/ViewModels/Services/HostStorageProvider.cs @@ -49,12 +49,12 @@ public async Task SaveBitmapFile(WriteableBitmap bitmap) { if (CanSave && CanPickFolder) { FilePickerSaveOptions options = new() { Title = "Save bitmap image...", - DefaultExtension = "bmp", + DefaultExtension = "png", SuggestedStartLocation = await TryGetWellKnownFolderAsync(WellKnownFolder.Documents) }; string? file = (await SaveFilePickerAsync(options))?.TryGetLocalPath(); if (!string.IsNullOrWhiteSpace(file)) { - bitmap.Save(file); + bitmap.Save(file, options: new PngBitmapEncoderOptions()); } } } diff --git a/tests/Directory.Packages.props b/tests/Directory.Packages.props index 12a723069b..286c327a29 100644 --- a/tests/Directory.Packages.props +++ b/tests/Directory.Packages.props @@ -7,10 +7,10 @@ - - + + - + @@ -21,12 +21,12 @@ - - + + - + \ No newline at end of file