Main GraphicsMagick source repository
Revision | f36cb4a21602884db9ebb833710531171dded4ee (tree) |
---|---|
Time | 2022-05-02 22:12:55 |
Author | Bob Friesenhahn <bfriesen@Grap...> |
Commiter | Bob Friesenhahn |
Add documentation for -define jpeg:arithmetic.
@@ -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 | + | |
1 | 6 | 2022-04-30 Fojtik Jaroslav <JaFojtik@yandex.com> |
2 | 7 | |
3 | 8 | * 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 | |
5 | 10 | |
6 | 11 | 2022-04-27 Fojtik Jaroslav <JaFojtik@yandex.com> |
7 | 12 |
@@ -10,5 +10,5 @@ | ||
10 | 10 | |
11 | 11 | #define public MagickPackageName "GraphicsMagick" |
12 | 12 | #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" |
@@ -2805,9 +2805,9 @@ | ||
2805 | 2805 | else |
2806 | 2806 | jpeg_info.arith_code = True; |
2807 | 2807 | } |
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 | + { | |
2811 | 2811 | if ((value=AccessDefinition(image_info,"jpeg","optimize-coding"))) |
2812 | 2812 | { |
2813 | 2813 | if (LocaleCompare(value,"FALSE") == 0) |
@@ -1197,6 +1197,13 @@ | ||
1197 | 1197 | 0.06641. |
1198 | 1198 | </dd> |
1199 | 1199 | |
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 | + | |
1200 | 1207 | <dt>jpeg:block-smoothing={true|false}</dt> |
1201 | 1208 | |
1202 | 1209 | <dd>Enables or disables block smoothing when reading a JPEG file |
@@ -38,8 +38,8 @@ | ||
38 | 38 | #define MagickLibVersion 0x272400 |
39 | 39 | #define MagickLibVersionText "1.4" |
40 | 40 | #define MagickLibVersionNumber 27,24,0 |
41 | -#define MagickChangeDate "20220423" | |
42 | -#define MagickReleaseDate "snapshot-20220423" | |
41 | +#define MagickChangeDate "20220502" | |
42 | +#define MagickReleaseDate "snapshot-20220502" | |
43 | 43 | |
44 | 44 | /* |
45 | 45 | The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines |
@@ -1,4 +1,4 @@ | ||
1 | -.TH gm 1 "2022/03/11" "GraphicsMagick" | |
1 | +.TH gm 1 "2022/05/02" "GraphicsMagick" | |
2 | 2 | .TP |
3 | 3 | .in 15 |
4 | 4 | .in 15 |
@@ -1325,6 +1325,16 @@ | ||
1325 | 1325 | |
1326 | 1326 | .in 15 |
1327 | 1327 | .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 | |
1328 | 1338 | .B "jpeg:block-smoothing={true|false}" |
1329 | 1339 | .in 20 |
1330 | 1340 | \fR |
@@ -35,6 +35,17 @@ | ||
35 | 35 | <div class="document"> |
36 | 36 | |
37 | 37 | |
38 | +<p>2022-05-02 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> | |
39 | +<blockquote> | |
40 | +* doc/options.imdoc: Add documentation for -define | |
41 | +jpeg:arithmetic.</blockquote> | |
42 | +<p>2022-04-30 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40yandex.com">JaFojtik<span>@</span>yandex<span>.</span>com</a>></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 <<a class="reference external" href="mailto:JaFojtik%40yandex.com">JaFojtik<span>@</span>yandex<span>.</span>com</a>></p> | |
47 | +<blockquote> | |
48 | +* jpeg/: Update aged JPG library to version 9d.</blockquote> | |
38 | 49 | <p>2022-04-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> |
39 | 50 | <blockquote> |
40 | 51 | <p>* coders/ps.c (ReadPSImage): Assure that 'bounds' structure is |
@@ -1562,6 +1562,11 @@ | ||
1562 | 1562 | setting. The default quality setting of 75 results in a rate value of |
1563 | 1563 | 0.06641. |
1564 | 1564 | </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> | |
1565 | 1570 | <dt>jpeg:block-smoothing={true|false}</dt> |
1566 | 1571 | <dd>Enables or disables block smoothing when reading a JPEG file |
1567 | 1572 | (default enabled). |
@@ -1525,6 +1525,11 @@ | ||
1525 | 1525 | setting. The default quality setting of 75 results in a rate value of |
1526 | 1526 | 0.06641. |
1527 | 1527 | </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> | |
1528 | 1533 | <dt>jpeg:block-smoothing={true|false}</dt> |
1529 | 1534 | <dd>Enables or disables block smoothing when reading a JPEG file |
1530 | 1535 | (default enabled). |