mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 10:47:02 -07:00
BUG-2056: A better fix for the issue, there was already something build in. [skip ci]
This commit is contained in:
parent
c77e77578d
commit
89ae9489d2
4 changed files with 17 additions and 13 deletions
|
@ -98,8 +98,15 @@ namespace Greenshot.Plugin {
|
|||
ReduceColors = reduceColors;
|
||||
}
|
||||
|
||||
public SurfaceOutputSettings PreventGreenshotFormat() {
|
||||
if (Format == OutputFormat.greenshot) {
|
||||
/// <summary>
|
||||
/// BUG-2056 reported a logical issue, using greenshot format as the default causes issues with the external commands.
|
||||
/// </summary>
|
||||
/// <returns>this for fluent API usage</returns>
|
||||
public SurfaceOutputSettings PreventGreenshotFormat()
|
||||
{
|
||||
// If OutputFormat is Greenshot, use PNG instead.
|
||||
if (Format == OutputFormat.greenshot)
|
||||
{
|
||||
Format = OutputFormat.png;
|
||||
}
|
||||
return this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue