mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-07 07:26:05 +12:00
fixed #3735: Image save issue from image editor
This commit is contained in:
parent
86242dca83
commit
c628a22d9d
|
@ -955,7 +955,7 @@ public static Image AnnotateImage(Image img, string filePath, TaskSettings taskS
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(newFilePath))
|
if (string.IsNullOrEmpty(newFilePath))
|
||||||
{
|
{
|
||||||
string fileName = GetFilename(taskSettings, taskSettings.ImageSettings.ImageFormat.GetDescription(), img);
|
string fileName = GetFilename(taskSettings, taskSettings.ImageSettings.ImageFormat.GetDescription(), output);
|
||||||
newFilePath = Path.Combine(taskSettings.CaptureFolder, fileName);
|
newFilePath = Path.Combine(taskSettings.CaptureFolder, fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -971,7 +971,7 @@ public static Image AnnotateImage(Image img, string filePath, TaskSettings taskS
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(newFilePath))
|
if (string.IsNullOrEmpty(newFilePath))
|
||||||
{
|
{
|
||||||
string fileName = GetFilename(taskSettings, taskSettings.ImageSettings.ImageFormat.GetDescription(), img);
|
string fileName = GetFilename(taskSettings, taskSettings.ImageSettings.ImageFormat.GetDescription(), output);
|
||||||
newFilePath = Path.Combine(taskSettings.CaptureFolder, fileName);
|
newFilePath = Path.Combine(taskSettings.CaptureFolder, fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue