GraphicsMagick: coders/pcx.c Add a coment to discourage anybody ...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.38252.1672443674.1350.graphicsmagick-commit@lists.sourceforge.net>
changeset 996b3ee79e10 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=996b3ee79e10
summary: coders/pcx.c Add a coment to discourage anybody from using uncompressed PCX as default.

diffstat:

 coders/pcx.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r ea4bd9c52eec -r 996b3ee79e10 coders/pcx.c
--- a/coders/pcx.c	Fri Dec 30 18:48:14 2022 +0100
+++ b/coders/pcx.c	Sat Dec 31 00:40:44 2022 +0100
@@ -1105,6 +1105,8 @@
     */
     pcx_info.identifier=0x0a;
     pcx_info.version=5;
+    /* Please note that uncompressed PCX in quite rare and some applications cannot open it.
+       So the compressed PCX needs to be default. */
     pcx_info.encoding = (image->compression==RLECompression || image->compression==UndefinedCompression) ? 1 : 0;
     (void) LogMagickEvent(CoderEvent,GetMagickModule(),
                           "Using %s compression",
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.