(IResource.CanWrite): new property.

(ArchiveFormat.CanCreate): renamed to CanWrite.
This commit is contained in:
morkt
2016-10-11 00:05:22 +04:00
parent 3c5a61d580
commit f1d66206bc
248 changed files with 323 additions and 279 deletions

View File

@@ -36,9 +36,10 @@ namespace GameRes
[Export(typeof(ImageFormat))]
public class PngFormat : ImageFormat
{
public override string Tag { get { return "PNG"; } }
public override string Tag { get { return "PNG"; } }
public override string Description { get { return "Portable Network Graphics image"; } }
public override uint Signature { get { return 0x474e5089; } }
public override uint Signature { get { return 0x474e5089; } }
public override bool CanWrite { get { return true; } }
public override ImageData Read (Stream file, ImageMetaData info)
{