changed zlib compression level to maximum (Level9).

This commit is contained in:
morkt
2014-08-17 01:28:42 +04:00
parent c4834692cf
commit 97b9e28fbc
3 changed files with 7 additions and 5 deletions

View File

@@ -301,7 +301,7 @@ namespace GameRes.Formats
throw new FileFormatException ("GRP image encoder not available");
bool is_grp = grp.Signature == FormatCatalog.ReadSignature (input);
input.Position = 0;
using (var zstream = new ZLibStream (output, CompressionMode.Compress, true))
using (var zstream = new ZLibStream (output, CompressionMode.Compress, CompressionLevel.Level9, true))
{
if (is_grp)
{