mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Added LinqBridge and did some code cleanup.
This commit is contained in:
parent
fc192827f1
commit
7c7fd67b2a
20 changed files with 327 additions and 343 deletions
|
@ -372,7 +372,7 @@ namespace GreenshotPlugin.Core {
|
|||
// Fixed lock problem Bug #3431881
|
||||
using (Stream imageFileStream = File.OpenRead(filename))
|
||||
{
|
||||
fileImage = FromStream(imageFileStream);
|
||||
fileImage = FromStream(imageFileStream, Path.GetExtension(filename));
|
||||
}
|
||||
if (fileImage != null)
|
||||
{
|
||||
|
@ -381,7 +381,6 @@ namespace GreenshotPlugin.Core {
|
|||
return fileImage;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Based on: http://www.codeproject.com/KB/cs/IconExtractor.aspx
|
||||
/// And a hint from: http://www.codeproject.com/KB/cs/IconLib.aspx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue