We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a09f1 commit 1e65515Copy full SHA for 1e65515
src/BizHawk.Client.EmuHawk/MainForm.cs
@@ -1193,7 +1193,14 @@ public void TakeScreenshot(string path)
1193
using (var bb = Config.ScreenshotCaptureOsd ? CaptureOSD() : MakeScreenshotImage())
1194
{
1195
using var img = bb.ToSysdrawingBitmap();
1196
- img.Save(fi.FullName, ImageFormat.Png);
+ if (Path.GetExtension(path).ToUpper() == ".JPG")
1197
+ {
1198
+ img.Save(fi.FullName, ImageFormat.Jpeg);
1199
+ }
1200
+ else
1201
1202
+ img.Save(fi.FullName, ImageFormat.Png);
1203
1204
}
1205
1206
AddOnScreenMessage($"{fi.Name} saved.");
0 commit comments