GraphicsMagick: MogrifyImage(): Use MaxRGBDouble double constant...

GraphicsMagick Commits <[email protected]> Fri, 01 Sep 2023 08:29:47 -0500
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.13354.1693574996.1374.graphicsmagick-commit@lists.sourceforge.net>
changeset 2e76d4fb434c in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=2e76d4fb434c
summary: MogrifyImage(): Use MaxRGBDouble double constant rather than integral MaxRGB as argument to StringToDouble()

diffstat:

 ChangeLog                              |   6 ++++++
 VisualMagick/installer/inc/version.isx |   4 ++--
 magick/command.c                       |   2 +-
 magick/version.h                       |   4 ++--
 www/Changelog.html                     |  16 +++++++++++++++-
 5 files changed, 26 insertions(+), 6 deletions(-)

diffs (83 lines):

diff -r 84915db66dea -r 2e76d4fb434c ChangeLog
--- a/ChangeLog	Fri Sep 01 03:00:51 2023 +0200
+++ b/ChangeLog	Fri Sep 01 08:29:42 2023 -0500
@@ -1,3 +1,9 @@
+2023-09-01  Bob Friesenhahn  <[email protected]>
+
+	* magick/command.c (MogrifyImage): Use MaxRGBDouble double
+	constant rather than integral MaxRGB as argument to
+	StringToDouble().
+
 2023-09-01  Fojtik Jaroslav  <[email protected]>
 
 	* coders/bmp.c Bitmap header with size 52 bytes is also valid.
diff -r 84915db66dea -r 2e76d4fb434c VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Fri Sep 01 03:00:51 2023 +0200
+++ b/VisualMagick/installer/inc/version.isx	Fri Sep 01 08:29:42 2023 -0500
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020230831"
-#define public MagickPackageReleaseDate "snapshot-20230831"
+#define public MagickPackageVersionAddendum ".020230901"
+#define public MagickPackageReleaseDate "snapshot-20230901"
diff -r 84915db66dea -r 2e76d4fb434c magick/command.c
--- a/magick/command.c	Fri Sep 01 03:00:51 2023 +0200
+++ b/magick/command.c	Fri Sep 01 08:29:42 2023 -0500
@@ -10449,7 +10449,7 @@
 
                 /* rvalue */
                 option=argv[++i];
-                rvalue=StringToDouble(option,MaxRGB);
+                rvalue=StringToDouble(option,MaxRGBDouble);
                 (void) QuantumOperatorImage(*image,channel,quantum_operator,
                                             rvalue,&(*image)->exception);
 
diff -r 84915db66dea -r 2e76d4fb434c magick/version.h
--- a/magick/version.h	Fri Sep 01 03:00:51 2023 +0200
+++ b/magick/version.h	Fri Sep 01 08:29:42 2023 -0500
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x272403
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 27,24,3
-#define MagickChangeDate   "20230831"
-#define MagickReleaseDate  "snapshot-20230831"
+#define MagickChangeDate   "20230901"
+#define MagickReleaseDate  "snapshot-20230901"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r 84915db66dea -r 2e76d4fb434c www/Changelog.html
--- a/www/Changelog.html	Fri Sep 01 03:00:51 2023 +0200
+++ b/www/Changelog.html	Fri Sep 01 08:29:42 2023 -0500
@@ -37,6 +37,20 @@
 </div>
 
 <div class="document">
+<p>2023-09-01  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>magick/command.c (MogrifyImage): Use MaxRGBDouble double
+constant rather than integral MaxRGB as argument to
+StringToDouble().</p></li>
+</ul>
+</blockquote>
+<p>2023-09-01  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>
+<ul class="simple">
+<li><p>coders/bmp.c Bitmap header with size 52 bytes is also valid.</p></li>
+</ul>
+</blockquote>
 <p>2023-08-31  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">
@@ -58,7 +72,7 @@
 </dd>
 </dl>
 <div class="system-message">
-<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">&lt;string&gt;</span>, line 16)</p>
+<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">&lt;string&gt;</span>, line 26)</p>
 <p>Definition list ends without a blank line; unexpected unindent.</p>
 </div>
 <p>The opacity channel handling is even more complex.</p>