call overloaded Image.Read method.

This commit is contained in:
morkt
2015-07-25 10:14:49 +04:00
parent 097672845d
commit 78bd4f954d
3 changed files with 3 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ namespace GARbro.GUI
string target_name = Path.ChangeExtension (filename, target_ext);
using (var file = File.OpenRead (filename))
{
var image = ImageFormat.Read (file);
var image = ImageFormat.Read (filename, file);
if (null == image)
return;
try