• R/O
  • SSH

GM: Commit

Main GraphicsMagick source repository


Commit MetaInfo

Revisionf36cb4a21602884db9ebb833710531171dded4ee (tree)
Time2022-05-02 22:12:55
AuthorBob Friesenhahn <bfriesen@Grap...>
CommiterBob Friesenhahn

Log Message

Add documentation for -define jpeg:arithmetic.

Change Summary

Incremental Difference

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 @@
1+2022-05-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
2+
3+ * doc/options.imdoc: Add documentation for -define
4+ jpeg:arithmetic.
5+
16 2022-04-30 Fojtik Jaroslav <JaFojtik@yandex.com>
27
38 * coders/jpeg.c: Optionally enable arithmetic coder in JPG images.
4- gm convert -define jpeg:arithmetic=true testimg.jpg arith.jpg
9+ gm convert -define jpeg:arithmetic=true testimg.jpg arith.jpg
510
611 2022-04-27 Fojtik Jaroslav <JaFojtik@yandex.com>
712
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 @@
1010
1111 #define public MagickPackageName "GraphicsMagick"
1212 #define public MagickPackageVersion "1.4"
13-#define public MagickPackageVersionAddendum ".020220423"
14-#define public MagickPackageReleaseDate "snapshot-20220423"
13+#define public MagickPackageVersionAddendum ".020220502"
14+#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 @@
28052805 else
28062806 jpeg_info.arith_code = True;
28072807 }
2808- if(!jpeg_info.arith_code) /* jpeg_info.optimize_coding must not be set to enable arithmetic. */
2809-#endif
2810- {
2808+ if (!jpeg_info.arith_code) /* jpeg_info.optimize_coding must not be set to enable arithmetic. */
2809+#endif
2810+ {
28112811 if ((value=AccessDefinition(image_info,"jpeg","optimize-coding")))
28122812 {
28132813 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 @@
11971197 0.06641.
11981198 </dd>
11991199
1200+<dt>jpeg:arithmetic={true|false}</dt>
1201+
1202+<dd>Enables or disables arithmetic encoding if the JPEG library
1203+supports it (default disabled). When this is enabled, optimize-coding
1204+is necessarily disabled.
1205+</dd>
1206+
12001207 <dt>jpeg:block-smoothing={true|false}</dt>
12011208
12021209 <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 @@
3838 #define MagickLibVersion 0x272400
3939 #define MagickLibVersionText "1.4"
4040 #define MagickLibVersionNumber 27,24,0
41-#define MagickChangeDate "20220423"
42-#define MagickReleaseDate "snapshot-20220423"
41+#define MagickChangeDate "20220502"
42+#define MagickReleaseDate "snapshot-20220502"
4343
4444 /*
4545 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 @@
1-.TH gm 1 "2022/03/11" "GraphicsMagick"
1+.TH gm 1 "2022/05/02" "GraphicsMagick"
22 .TP
33 .in 15
44 .in 15
@@ -1325,6 +1325,16 @@
13251325
13261326 .in 15
13271327 .in 15
1328+.B "jpeg:arithmetic={true|false}"
1329+.in 20
1330+ \fR
1331+.in 20
1332+Enables or disables arithmetic encoding if the JPEG library
1333+supports it (default disabled). When this is enabled, optimize-coding
1334+is necessarily disabled.
1335+
1336+.in 15
1337+.in 15
13281338 .B "jpeg:block-smoothing={true|false}"
13291339 .in 20
13301340 \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 @@
3535 <div class="document">
3636
3737
38+<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>
39+<blockquote>
40+* doc/options.imdoc: Add documentation for -define
41+jpeg:arithmetic.</blockquote>
42+<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>
43+<blockquote>
44+* coders/jpeg.c: Optionally enable arithmetic coder in JPG images.
45+gm convert -define jpeg:arithmetic=true testimg.jpg arith.jpg</blockquote>
46+<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>
47+<blockquote>
48+* jpeg/: Update aged JPG library to version 9d.</blockquote>
3849 <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>
3950 <blockquote>
4051 <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 @@
15621562 setting. The default quality setting of 75 results in a rate value of
15631563 0.06641.
15641564 </dd>
1565+<dt>jpeg:arithmetic={true|false}</dt>
1566+<dd>Enables or disables arithmetic encoding if the JPEG library
1567+supports it (default disabled). When this is enabled, optimize-coding
1568+is necessarily disabled.
1569+</dd>
15651570 <dt>jpeg:block-smoothing={true|false}</dt>
15661571 <dd>Enables or disables block smoothing when reading a JPEG file
15671572 (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 @@
15251525 setting. The default quality setting of 75 results in a rate value of
15261526 0.06641.
15271527 </dd>
1528+<dt>jpeg:arithmetic={true|false}</dt>
1529+<dd>Enables or disables arithmetic encoding if the JPEG library
1530+supports it (default disabled). When this is enabled, optimize-coding
1531+is necessarily disabled.
1532+</dd>
15281533 <dt>jpeg:block-smoothing={true|false}</dt>
15291534 <dd>Enables or disables block smoothing when reading a JPEG file
15301535 (default enabled).
Show on old repository browser