diff options
author | Ray Johnston <ray.johnston@artifex.com> | 2004-09-26 16:19:27 +0000 |
---|---|---|
committer | Ray Johnston <ray.johnston@artifex.com> | 2004-09-26 16:19:27 +0000 |
commit | 937649d6599e6ca52b8f70d80ebe06079419a347 (patch) | |
tree | be56f1d9be6a7edadd9222d06686a456a6792c7c /gs/src/os2.mak | |
parent | 51747b7eddda2ee21ccb13ab46f273175d9d37a0 (diff) |
Add the LZWEncode filter that actually compresses using the LZW method,
rather than the dummy encoder in slzwce.c that expanded the input, but
that avoided the patent issues. Bug 687554.
Also fix a long standing issue in filter closing that failed to flush the
target stream after the final s_process_write_buf with 'last' == true.
Bug 224134.
DETAILS:
The LZWEncode filter was moved over from an older version of Ghostscript
that actually had a working LZWEncode.
The s_filter_close logic (discussed at length in bug 224134) was fixed
to be consistent with the specification and with Adobe. While the
target stream is not closed (per the specification unless CloseTarget is
true), the specification *DOES* call for an automatic 'flushfile' which
is supposed to be propagated down the filter chain.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5379 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/os2.mak')
-rw-r--r-- | gs/src/os2.mak | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gs/src/os2.mak b/gs/src/os2.mak index 5688f9804..9817d2fb4 100644 --- a/gs/src/os2.mak +++ b/gs/src/os2.mak @@ -454,8 +454,7 @@ COMPILE_INITS=0 BAND_LIST_STORAGE=file # Choose which compression method to use when storing band lists in memory. -# The choices are 'lzw' or 'zlib'. lzw is not recommended, because the -# LZW-compatible code in Ghostscript doesn't actually compress its input. +# The choices are 'lzw' or 'zlib'. BAND_LIST_COMPRESSOR=zlib |