mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Boolean logic fix to help with #396, this at least should solve the issue for .PNG, other formats are pending. [skip ci]
This commit is contained in:
parent
d6055416c8
commit
83b308cb4b
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ EndSelection:<<<<<<<4
|
|||
var fileFormatHandlers = SimpleServiceProvider.Current.GetAllInstances<IFileFormatHandler>();
|
||||
|
||||
// From here, imageStream is a valid stream
|
||||
if (!fileFormatHandlers.TryLoadFromStream(imageStream, format, out bitmap))
|
||||
if (fileFormatHandlers.TryLoadFromStream(imageStream, format, out bitmap))
|
||||
{
|
||||
return bitmap;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue