GraphicsMagick: Add documentation for -define jpeg:arithmetic.

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.1194.1651497192.1633.graphicsmagick-commit@lists.sourceforge.net>
changeset f36cb4a21602 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=f36cb4a21602
summary: Add documentation for -define jpeg:arithmetic.

diffstat:

 ChangeLog                              |   7 ++++++-
 VisualMagick/installer/inc/version.isx |   4 ++--
 coders/jpeg.c                          |   6 +++---
 doc/options.imdoc                      |   7 +++++++
 magick/version.h                       |   4 ++--
 utilities/gm.1                         |  12 +++++++++++-
 www/Changelog.html                     |  11 +++++++++++
 www/GraphicsMagick.html                |   5 +++++
 www/gm.html                            |   5 +++++
 9 files changed, 52 insertions(+), 9 deletions(-)

diffs (152 lines):

diff -r f8516a12cf46 -r f36cb4a21602 ChangeLog
--- a/ChangeLog	Sat Apr 30 08:19:29 2022 +0200
+++ b/ChangeLog	Mon May 02 08:12:55 2022 -0500
@@ -1,7 +1,12 @@
+2022-05-02  Bob Friesenhahn  <[email protected]>
+
+        * doc/options.imdoc: Add documentation for -define
+        jpeg:arithmetic.
+
 2022-04-30  Fojtik Jaroslav  <[email protected]>
 
         * coders/jpeg.c: Optionally enable arithmetic coder in JPG images.
-	gm convert -define jpeg:arithmetic=true testimg.jpg arith.jpg
+        gm convert -define jpeg:arithmetic=true testimg.jpg arith.jpg
 
 2022-04-27  Fojtik Jaroslav  <[email protected]>
 
diff -r f8516a12cf46 -r f36cb4a21602 VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Sat Apr 30 08:19:29 2022 +0200
+++ b/VisualMagick/installer/inc/version.isx	Mon May 02 08:12:55 2022 -0500
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020220423"
-#define public MagickPackageReleaseDate "snapshot-20220423"
+#define public MagickPackageVersionAddendum ".020220502"
+#define public MagickPackageReleaseDate "snapshot-20220502"
diff -r f8516a12cf46 -r f36cb4a21602 coders/jpeg.c
--- a/coders/jpeg.c	Sat Apr 30 08:19:29 2022 +0200
+++ b/coders/jpeg.c	Mon May 02 08:12:55 2022 -0500
@@ -2805,9 +2805,9 @@
       else
         jpeg_info.arith_code = True;
     }
-  if(!jpeg_info.arith_code)	/* jpeg_info.optimize_coding must not be set to enable arithmetic. */
-#endif  
-  {    
+  if (!jpeg_info.arith_code)     /* jpeg_info.optimize_coding must not be set to enable arithmetic. */
+#endif
+  {
     if ((value=AccessDefinition(image_info,"jpeg","optimize-coding")))
       {
         if (LocaleCompare(value,"FALSE") == 0)
diff -r f8516a12cf46 -r f36cb4a21602 doc/options.imdoc
--- a/doc/options.imdoc	Sat Apr 30 08:19:29 2022 +0200
+++ b/doc/options.imdoc	Mon May 02 08:12:55 2022 -0500
@@ -1197,6 +1197,13 @@
 0.06641.
 </dd>
 
+<dt>jpeg:arithmetic={true|false}</dt>
+
+<dd>Enables or disables arithmetic encoding if the JPEG library
+supports it (default disabled).  When this is enabled, optimize-coding
+is necessarily disabled.
+</dd>
+
 <dt>jpeg:block-smoothing={true|false}</dt>
 
 <dd>Enables or disables block smoothing when reading a JPEG file
diff -r f8516a12cf46 -r f36cb4a21602 magick/version.h
--- a/magick/version.h	Sat Apr 30 08:19:29 2022 +0200
+++ b/magick/version.h	Mon May 02 08:12:55 2022 -0500
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x272400
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 27,24,0
-#define MagickChangeDate   "20220423"
-#define MagickReleaseDate  "snapshot-20220423"
+#define MagickChangeDate   "20220502"
+#define MagickReleaseDate  "snapshot-20220502"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r f8516a12cf46 -r f36cb4a21602 utilities/gm.1
--- a/utilities/gm.1	Sat Apr 30 08:19:29 2022 +0200
+++ b/utilities/gm.1	Mon May 02 08:12:55 2022 -0500
@@ -1,4 +1,4 @@
-.TH gm 1 "2022/03/11" "GraphicsMagick"
+.TH gm 1 "2022/05/02" "GraphicsMagick"
 .TP
 .in 15
 .in 15
@@ -1325,6 +1325,16 @@
 
 .in 15
 .in 15
+.B "jpeg:arithmetic={true|false}"
+.in 20
+ \fR
+.in 20
+Enables or disables arithmetic encoding if the JPEG library
+supports it (default disabled).  When this is enabled, optimize-coding
+is necessarily disabled.
+
+.in 15
+.in 15
 .B "jpeg:block-smoothing={true|false}"
 .in 20
  \fR
diff -r f8516a12cf46 -r f36cb4a21602 www/Changelog.html
--- a/www/Changelog.html	Sat Apr 30 08:19:29 2022 +0200
+++ b/www/Changelog.html	Mon May 02 08:12:55 2022 -0500
@@ -35,6 +35,17 @@
 <div class="document">
 
 
+<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
+jpeg:arithmetic.</blockquote>
+<p>2022-04-30  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;yandex&#46;com">JaFojtik<span>&#64;</span>yandex<span>&#46;</span>com</a>&gt;</p>
+<blockquote>
+* coders/jpeg.c: Optionally enable arithmetic coder in JPG images.
+gm convert -define jpeg:arithmetic=true testimg.jpg arith.jpg</blockquote>
+<p>2022-04-27  Fojtik Jaroslav  &lt;<a class="reference external" href="mailto:JaFojtik&#37;&#52;&#48;yandex&#46;com">JaFojtik<span>&#64;</span>yandex<span>&#46;</span>com</a>&gt;</p>
+<blockquote>
+* jpeg/: Update aged JPG library to version 9d.</blockquote>
 <p>2022-04-23  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>
 <p>* coders/ps.c (ReadPSImage): Assure that 'bounds' structure is
diff -r f8516a12cf46 -r f36cb4a21602 www/GraphicsMagick.html
--- a/www/GraphicsMagick.html	Sat Apr 30 08:19:29 2022 +0200
+++ b/www/GraphicsMagick.html	Mon May 02 08:12:55 2022 -0500
@@ -1562,6 +1562,11 @@
 setting. The default quality setting of 75 results in a rate value of
 0.06641.
 </dd>
+<dt>jpeg:arithmetic={true|false}</dt>
+<dd>Enables or disables arithmetic encoding if the JPEG library
+supports it (default disabled).  When this is enabled, optimize-coding
+is necessarily disabled.
+</dd>
 <dt>jpeg:block-smoothing={true|false}</dt>
 <dd>Enables or disables block smoothing when reading a JPEG file
 (default enabled).
diff -r f8516a12cf46 -r f36cb4a21602 www/gm.html
--- a/www/gm.html	Sat Apr 30 08:19:29 2022 +0200
+++ b/www/gm.html	Mon May 02 08:12:55 2022 -0500
@@ -1525,6 +1525,11 @@
 setting. The default quality setting of 75 results in a rate value of
 0.06641.
 </dd>
+<dt>jpeg:arithmetic={true|false}</dt>
+<dd>Enables or disables arithmetic encoding if the JPEG library
+supports it (default disabled).  When this is enabled, optimize-coding
+is necessarily disabled.
+</dd>
 <dt>jpeg:block-smoothing={true|false}</dt>
 <dd>Enables or disables block smoothing when reading a JPEG file
 (default enabled).
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.