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

@@ -294,7 +294,7 @@ namespace GARbro.GUI
{
using (var file = arc.OpenSeekableEntry (entry))
{
var src_format = ImageFormat.FindFormat (file);
var src_format = ImageFormat.FindFormat (file, entry.Name);
if (null == src_format)
throw new InvalidFormatException (string.Format ("{1}: {0}", guiStrings.MsgUnableInterpretImage, entry.Name));
file.Position = 0;