mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-07-08 01:31:41 +08:00
renamed some ImageDecoder properties and classes.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user