GraphicsMagick: 2 new changesets

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.38008.1672422533.1567.graphicsmagick-commit@lists.sourceforge.net>
changeset 424e68acfa04 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=424e68acfa04
summary: coders/pcx.c (WritePCXImage): Meke default RLE compression. Uncompressed PCX is more rare.

changeset ea4bd9c52eec in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=ea4bd9c52eec
summary: Merge branches

diffstat:

 ChangeLog          |   9 ++++++++-
 NEWS.txt           |  14 +++++++++++++-
 coders/pcx.c       |   2 +-
 www/Changelog.html |   1 +
 www/NEWS.html      |  16 +++++++++++++++-
 5 files changed, 38 insertions(+), 4 deletions(-)

diffs (132 lines):

diff -r df23d5fab948 -r ea4bd9c52eec ChangeLog
--- a/ChangeLog	Fri Dec 30 11:16:59 2022 -0600
+++ b/ChangeLog	Fri Dec 30 18:48:14 2022 +0100
@@ -1,5 +1,12 @@
+2022-12-30  Fojtik Jaroslav  <[email protected]>
+
+	* coders/pcx.c (WritePCXImage): Meke default RLE compression.
+        Uncompressed PCX is more rare.
+
 2022-12-30  Bob Friesenhahn  <[email protected]>
 
+	* NEWS.txt: Updated the news.
+
 	* coders/pcx.c (WritePCXImage): Support writing uncompressed PCX
 	by default.  Use -compress RLE to enable RLE compression.
 
@@ -50,7 +57,7 @@
 
 	* NEWS.txt: Updated the news.
 
-2022-12-25 Fojtik Jaroslav  <[email protected]>
+2022-12-26 Fojtik Jaroslav  <[email protected]>
 
 	* jp2/src/appl/jasper.c: Link problem with jasper utility fixed.
 
diff -r df23d5fab948 -r ea4bd9c52eec NEWS.txt
--- a/NEWS.txt	Fri Dec 30 11:16:59 2022 -0600
+++ b/NEWS.txt	Fri Dec 30 18:48:14 2022 +0100
@@ -6,7 +6,7 @@
 GraphicsMagick News
 ===================
 
-This file was last updated to reflect changes up to December 29, 2022
+This file was last updated to reflect changes up to December 30, 2022
 
 Please note that this file records news for the associated development
 branch and that each development branch has its own NEWS file. See the
@@ -46,10 +46,19 @@
 
 Security Fixes:
 
+* DCX: Fixed heap overflow when writing more than 1023 scenes, and
+  also eliminated use of uninitialized memory.
+
 Bug fixes:
 
+* SUN: The sense of monochrome images was inverted.  Fix scanline size
+  calculation.
+
 New Features:
 
+* PCX and DCX: Support writing uncompressed format (use -compress rle
+  for RLE compression).
+
 API Updates:
 
 * AppendImageToList() now updates the image list pointer to be the
@@ -66,6 +75,9 @@
   image which was just added.  Use GetFirstImageInList() when the
   pointer to the first image in the list is needed.
 
+* PCX and DCX writers now write uncompressed files by default
+  (use -compress rle for RLE compression).
+
 
 1.3.39 (December 26, 2022)
 ==========================
diff -r df23d5fab948 -r ea4bd9c52eec coders/pcx.c
--- a/coders/pcx.c	Fri Dec 30 11:16:59 2022 -0600
+++ b/coders/pcx.c	Fri Dec 30 18:48:14 2022 +0100
@@ -1105,7 +1105,7 @@
     */
     pcx_info.identifier=0x0a;
     pcx_info.version=5;
-    pcx_info.encoding=image->compression == RLECompression ? 1 : 0;
+    pcx_info.encoding = (image->compression==RLECompression || image->compression==UndefinedCompression) ? 1 : 0;
     (void) LogMagickEvent(CoderEvent,GetMagickModule(),
                           "Using %s compression",
                           pcx_info.encoding == 1 ? "RLE" : "No");
diff -r df23d5fab948 -r ea4bd9c52eec www/Changelog.html
--- a/www/Changelog.html	Fri Dec 30 11:16:59 2022 -0600
+++ b/www/Changelog.html	Fri Dec 30 18:48:14 2022 +0100
@@ -40,6 +40,7 @@
 <p>2022-12-30  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 <ul class="simple">
+<li><p>NEWS.txt: Updated the news.</p></li>
 <li><p>coders/pcx.c (WritePCXImage): Support writing uncompressed PCX
 by default.  Use -compress RLE to enable RLE compression.</p></li>
 <li><p>coders/sun.c (ReadSUNImage): Sense of monochrome images was
diff -r df23d5fab948 -r ea4bd9c52eec www/NEWS.html
--- a/www/NEWS.html	Fri Dec 30 11:16:59 2022 -0600
+++ b/www/NEWS.html	Fri Dec 30 18:48:14 2022 +0100
@@ -41,7 +41,7 @@
 <!-- -*- mode: rst -*- -->
 <!-- This text is in reStucturedText format, so it may look a bit odd. -->
 <!-- See http://docutils.sourceforge.net/rst.html for details. -->
-<p>This file was last updated to reflect changes up to December 29, 2022</p>
+<p>This file was last updated to reflect changes up to December 30, 2022</p>
 <p>Please note that this file records news for the associated development
 branch and that each development branch has its own NEWS file. See the
 ChangeLog file, and/or the Mercurial changesets, for full details.</p>
@@ -121,8 +121,20 @@
 the oss-fuzz issues list for details.</p></li>
 </ul>
 <p>Security Fixes:</p>
+<ul class="simple">
+<li><p>DCX: Fixed heap overflow when writing more than 1023 scenes, and
+also eliminated use of uninitialized memory.</p></li>
+</ul>
 <p>Bug fixes:</p>
+<ul class="simple">
+<li><p>SUN: The sense of monochrome images was inverted.  Fix scanline size
+calculation.</p></li>
+</ul>
 <p>New Features:</p>
+<ul class="simple">
+<li><p>PCX and DCX: Support writing uncompressed format (use -compress rle
+for RLE compression).</p></li>
+</ul>
 <p>API Updates:</p>
 <ul class="simple">
 <li><p>AppendImageToList() now updates the image list pointer to be the
@@ -136,6 +148,8 @@
 <li><p>AppendImageToList() now updates the image list pointer to be the
 image which was just added.  Use GetFirstImageInList() when the
 pointer to the first image in the list is needed.</p></li>
+<li><p>PCX and DCX writers now write uncompressed files by default
+(use -compress rle for RLE compression).</p></li>
 </ul>
 </div>
 <div class="section" id="december-26-2022">
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.