GraphicsMagick: WriteJPEGImage(): Change "arithmetic" to "arithm...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.4393.1652026321.1572.graphicsmagick-commit@lists.sourceforge.net>
changeset eaa9f32ff59d in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=eaa9f32ff59d
summary: WriteJPEGImage(): Change "arithmetic" to "arithmetic-coding"

diffstat:

 ChangeLog          |  4 ++++
 coders/jpeg.c      |  2 +-
 doc/options.imdoc  |  2 +-
 www/Changelog.html |  8 ++++++--
 4 files changed, 12 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r 06f5cda2ec7b -r eaa9f32ff59d ChangeLog
--- a/ChangeLog	Sun May 08 10:55:57 2022 -0500
+++ b/ChangeLog	Sun May 08 11:09:42 2022 -0500
@@ -1,5 +1,9 @@
 2022-05-08  Bob Friesenhahn  <[email protected]>
 
+        * coders/jpeg.c (WriteJPEGImage): Change "arithmetic" to
+        "arithmetic-coding" in order to match ImageMagick's previously
+        existing syntax.
+
         * coders/png.c (ReadOnePNGImage): Assure that entire image list is
         freed. Addresses oss-fuzz 46997 "graphicsmagick:coder_MNG_fuzzer:
         Indirect-leak in MagickMallocCleared".  This is a new issue due to
diff -r 06f5cda2ec7b -r eaa9f32ff59d coders/jpeg.c
--- a/coders/jpeg.c	Sun May 08 10:55:57 2022 -0500
+++ b/coders/jpeg.c	Sun May 08 11:09:42 2022 -0500
@@ -2798,7 +2798,7 @@
   /*
     Allow the user to turn on/off arithmetic coder.
   */
-  if ((value=AccessDefinition(image_info,"jpeg","arithmetic")))
+  if ((value=AccessDefinition(image_info,"jpeg","arithmetic-coding")))
     {
       if (LocaleCompare(value,"FALSE") == 0)
         jpeg_info.arith_code = False;
diff -r 06f5cda2ec7b -r eaa9f32ff59d doc/options.imdoc
--- a/doc/options.imdoc	Sun May 08 10:55:57 2022 -0500
+++ b/doc/options.imdoc	Sun May 08 11:09:42 2022 -0500
@@ -1197,7 +1197,7 @@
 0.06641.
 </dd>
 
-<dt>jpeg:arithmetic={true|false}</dt>
+<dt>jpeg:arithmetic-coding={true|false}</dt>
 
 <dd>Enables or disables arithmetic encoding if the JPEG library
 supports it (default disabled).  When this is enabled, optimize-coding
diff -r 06f5cda2ec7b -r eaa9f32ff59d www/Changelog.html
--- a/www/Changelog.html	Sun May 08 10:55:57 2022 -0500
+++ b/www/Changelog.html	Sun May 08 11:09:42 2022 -0500
@@ -37,10 +37,14 @@
 
 <p>2022-05-08  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>
-* coders/png.c (ReadOnePNGImage): Assure that entire image list is
+<p>* coders/jpeg.c (WriteJPEGImage): Change &quot;arithmetic&quot; to
+&quot;arithmetic-coding&quot; in order to match ImageMagick's previously
+existing syntax.</p>
+<p>* coders/png.c (ReadOnePNGImage): Assure that entire image list is
 freed. Addresses oss-fuzz 46997 &quot;graphicsmagick:coder_MNG_fuzzer:
 Indirect-leak in MagickMallocCleared&quot;.  This is a new issue due to
-incrementally seeking the complete correct error-handling cleanup.</blockquote>
+incrementally seeking the complete correct error-handling cleanup.</p>
+</blockquote>
 <p>2022-05-02  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>
 * doc/options.imdoc: Add documentation for -define
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.