File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ mozjpeg's implementation of the libjpeg API includes an extensibility framework
2424that allows new features to be added without modifying the transparent libjpeg
2525compress/decompress structures (which would break backward ABI compatibility.)
2626Extension parameters are placed into the opaque jpeg_comp_master structure, and
27- a set of accessor functions and globally unique tokens allows for
27+ a set of accessor functions and globally unique tokens allows for
2828getting/setting those parameters without directly accessing the structure.
2929
3030Currently, only the accessor functions necessary to support the mozjpeg
@@ -185,7 +185,7 @@ Integer Extension Parameters Supported by mozjpeg
185185 8 = Table from: An Improved Detection Model for DCT Coefficient Quantization
186186 (1993) Peterson, Ahumada and Watson
187187
188- * JINT_DC_SCAN_OPT_MODE (default: 1 )
188+ * JINT_DC_SCAN_OPT_MODE (default: 0 )
189189 Specifies the DC scan optimization mode. The following options are
190190 available:
191191 0 = One scan for all components
Original file line number Diff line number Diff line change @@ -487,9 +487,9 @@ jpeg_set_defaults (j_compress_ptr cinfo)
487487 /* Choose JPEG colorspace based on input space, set defaults accordingly */
488488
489489 jpeg_default_colorspace (cinfo );
490-
491- cinfo -> master -> dc_scan_opt_mode = 1 ;
492-
490+
491+ cinfo -> master -> dc_scan_opt_mode = 0 ;
492+
493493#ifdef C_PROGRESSIVE_SUPPORTED
494494 if (cinfo -> master -> compress_profile == JCP_MAX_COMPRESSION ) {
495495 cinfo -> master -> optimize_scans = TRUE;
You can’t perform that action at this time.
0 commit comments