GraphicsMagick: Add documentation for -define bmp:allow-jpeg

GraphicsMagick Commits <[email protected]> Mon, 18 Sep 2023 08:19:48 -0500
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.1613.1695043202.1370.graphicsmagick-commit@lists.sourceforge.net>
changeset ba96367322cb in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=ba96367322cb
summary: Add documentation for -define bmp:allow-jpeg

diffstat:

 ChangeLog                              |   4 ++++
 VisualMagick/installer/inc/version.isx |   4 ++--
 doc/options.imdoc                      |   9 +++++++++
 magick/version.h                       |   4 ++--
 utilities/gm.1                         |  15 ++++++++++++++-
 www/Changelog.html                     |  13 +++++++++++++
 www/GraphicsMagick.html                |   8 ++++++++
 www/gm.html                            |   8 ++++++++
 8 files changed, 60 insertions(+), 5 deletions(-)

diffs (143 lines):

diff -r daa2bc97aa3f -r ba96367322cb ChangeLog
--- a/ChangeLog	Mon Sep 18 00:17:29 2023 +0200
+++ b/ChangeLog	Mon Sep 18 08:19:45 2023 -0500
@@ -1,3 +1,7 @@
+2023-09-18  Bob Friesenhahn  <[email protected]>
+
+	* doc/options.imdoc: Add documentation for -define bmp:allow-jpeg.
+
 2023-09-18  Fojtik Jaroslav  <[email protected]>
 
 	* coders/bmp.c Ability to write JPG encoded image.
diff -r daa2bc97aa3f -r ba96367322cb VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Mon Sep 18 00:17:29 2023 +0200
+++ b/VisualMagick/installer/inc/version.isx	Mon Sep 18 08:19:45 2023 -0500
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020230917"
-#define public MagickPackageReleaseDate "snapshot-20230917"
+#define public MagickPackageVersionAddendum ".020230918"
+#define public MagickPackageReleaseDate "snapshot-20230918"
diff -r daa2bc97aa3f -r ba96367322cb doc/options.imdoc
--- a/doc/options.imdoc	Mon Sep 18 00:17:29 2023 +0200
+++ b/doc/options.imdoc	Mon Sep 18 08:19:45 2023 -0500
@@ -1123,6 +1123,15 @@
 
 <pp>
 <dl>
+<dt>bmp:allow-jpeg={true|false}</dt>
+<dd>If the bmp:allow-jpeg value is set to true, then enable BMP files
+using JPEG compression, under control of the compression option (which
+may be JPEG already if the input file is JPEG).  JPEG-compressed BMP
+files are very rare so this option acts as a safeguard to assure that
+the current compression setting does not accidentally produce
+JPEG-compressed BMP files which most other software is unable to read.
+</dd>
+
 <dt>cineon:colorspace={rgb|cineonlog}</dt>
 <dd>Use the cineon:colorspace option when reading a Cineon file to
 specify the colorspace the Cineon file uses. This overrides the colorspace
diff -r daa2bc97aa3f -r ba96367322cb magick/version.h
--- a/magick/version.h	Mon Sep 18 00:17:29 2023 +0200
+++ b/magick/version.h	Mon Sep 18 08:19:45 2023 -0500
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x272403
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 27,24,3
-#define MagickChangeDate   "20230917"
-#define MagickReleaseDate  "snapshot-20230917"
+#define MagickChangeDate   "20230918"
+#define MagickReleaseDate  "snapshot-20230918"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r daa2bc97aa3f -r ba96367322cb utilities/gm.1
--- a/utilities/gm.1	Mon Sep 18 00:17:29 2023 +0200
+++ b/utilities/gm.1	Mon Sep 18 08:19:45 2023 -0500
@@ -1,4 +1,4 @@
-.TH gm 1 "2023/05/11" "GraphicsMagick"
+.TH gm 1 "2023/09/18" "GraphicsMagick"
 .TP
 .in 15
 .in 15
@@ -1213,6 +1213,19 @@
 .in 15
 
 .in 15
+.B "bmp:allow-jpeg={true|false}"
+.in 20
+ \fR
+.in 20
+If the bmp:allow-jpeg value is set to true, then enable BMP files
+using JPEG compression, under control of the compression option (which
+may be JPEG already if the input file is JPEG).  JPEG-compressed BMP
+files are very rare so this option acts as a safeguard to assure that
+the current compression setting does not accidentally produce
+JPEG-compressed BMP files which most other software is unable to read.
+
+.in 15
+.in 15
 .B "cineon:colorspace={rgb|cineonlog}"
 .in 20
  \fR
diff -r daa2bc97aa3f -r ba96367322cb www/Changelog.html
--- a/www/Changelog.html	Mon Sep 18 00:17:29 2023 +0200
+++ b/www/Changelog.html	Mon Sep 18 08:19:45 2023 -0500
@@ -37,6 +37,19 @@
 </div>
 
 <div class="document">
+<p>2023-09-18  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>doc/options.imdoc: Add documentation for -define bmp:allow-jpeg.</p></li>
+</ul>
+</blockquote>
+<p>2023-09-18  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 Ability to write JPG encoded image.
+Using a new command line switch: -define bmp:allow-jpeg</p></li>
+</ul>
+</blockquote>
 <p>2023-09-17  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">
diff -r daa2bc97aa3f -r ba96367322cb www/GraphicsMagick.html
--- a/www/GraphicsMagick.html	Mon Sep 18 00:17:29 2023 +0200
+++ b/www/GraphicsMagick.html	Mon Sep 18 08:19:45 2023 -0500
@@ -1496,6 +1496,14 @@
 The following definitions may be created:</font></td></tr></table>
 <table width="90%" border="0" cellspacing="0"             cellpadding="8">             <tr><td width="6%"><br></td><td><font size="-1">
 <dl>
+<dt>bmp:allow-jpeg={true|false}</dt>
+<dd>If the bmp:allow-jpeg value is set to true, then enable BMP files
+using JPEG compression, under control of the compression option (which
+may be JPEG already if the input file is JPEG).  JPEG-compressed BMP
+files are very rare so this option acts as a safeguard to assure that
+the current compression setting does not accidentally produce
+JPEG-compressed BMP files which most other software is unable to read.
+</dd>
 <dt>cineon:colorspace={rgb|cineonlog}</dt>
 <dd>Use the cineon:colorspace option when reading a Cineon file to
 specify the colorspace the Cineon file uses. This overrides the colorspace
diff -r daa2bc97aa3f -r ba96367322cb www/gm.html
--- a/www/gm.html	Mon Sep 18 00:17:29 2023 +0200
+++ b/www/gm.html	Mon Sep 18 08:19:45 2023 -0500
@@ -1459,6 +1459,14 @@
 The following definitions may be created:</font></td></tr></table>
 <table width="90%" border="0" cellspacing="0"             cellpadding="8">             <tr><td width="6%"><br></td><td><font size="-1">
 <dl>
+<dt>bmp:allow-jpeg={true|false}</dt>
+<dd>If the bmp:allow-jpeg value is set to true, then enable BMP files
+using JPEG compression, under control of the compression option (which
+may be JPEG already if the input file is JPEG).  JPEG-compressed BMP
+files are very rare so this option acts as a safeguard to assure that
+the current compression setting does not accidentally produce
+JPEG-compressed BMP files which most other software is unable to read.
+</dd>
 <dt>cineon:colorspace={rgb|cineonlog}</dt>
 <dd>Use the cineon:colorspace option when reading a Cineon file to
 specify the colorspace the Cineon file uses. This overrides the colorspace