renamed some ImageDecoder properties and classes.

This commit is contained in:
morkt
2016-10-26 15:42:27 +04:00
parent 2c06c1cbcd
commit c771b13d4e
11 changed files with 46 additions and 46 deletions

View File

@@ -310,14 +310,14 @@ namespace GARbro.GUI
{
using (var decoder = arc.OpenImage (entry))
{
var src_format = decoder.Format; // could be null
var src_format = decoder.SourceFormat; // could be null
string target_ext = target_format.Extensions.FirstOrDefault() ?? "";
string outname = FindUniqueFileName (entry.Name, target_ext);
if (src_format == target_format)
{
// source format is the same as a target, copy file as is
using (var output = ArchiveFormat.CreateFile (outname))
decoder.Input.CopyTo (output);
decoder.Source.CopyTo (output);
return;
}
ImageData image = decoder.Image;

View File

@@ -51,5 +51,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion ("1.2.20.1412")]
[assembly: AssemblyFileVersion ("1.2.20.1412")]
[assembly: AssemblyVersion ("1.2.20.1503")]
[assembly: AssemblyFileVersion ("1.2.20.1503")]