Note: as of wimlib v1.5.3, wimlib's LZX compressor usually achieves the same or
better compression than Microsoft's, but is slightly slower.
.TP
-\fB--compress-slow
-For LZX compression only: spend even more time compressing the data in order to
-achieve a more optimal compression ratio. This will make compression about
-twice as slow and will increase the compression ratio by maybe 1%, if you're
-lucky.
+\fB--recompress-slow\fR, \fB--compress-slow\fR
+Spend even more time compressing the data in order to achieve a more optimal
+compression ratio. This only affects LZX-compressed WIM files. Compared to the
+default \fB--recompress\fR, this will make compression about twice as slow and
+will increase the compression ratio by maybe 1%, depending on the data.
.TP
\fB--threads\fR=\fINUM_THREADS\fR
Number of threads to use for compressing data. Default: autodetect (number of
{T("no-check"), no_argument, NULL, IMAGEX_NOCHECK_OPTION},
{T("recompress"), no_argument, NULL, IMAGEX_RECOMPRESS_OPTION},
{T("compress-slow"), no_argument, NULL, IMAGEX_COMPRESS_SLOW_OPTION},
+ {T("recompress-slow"), no_argument, NULL, IMAGEX_COMPRESS_SLOW_OPTION},
{T("threads"), required_argument, NULL, IMAGEX_THREADS_OPTION},
{T("pipable"), no_argument, NULL, IMAGEX_PIPABLE_OPTION},
{T("not-pipable"), no_argument, NULL, IMAGEX_NOT_PIPABLE_OPTION},
write_flags |= WIMLIB_WRITE_FLAG_RECOMPRESS;
break;
case IMAGEX_COMPRESS_SLOW_OPTION:
+ write_flags |= WIMLIB_WRITE_FLAG_RECOMPRESS;
set_compress_slow();
break;
case IMAGEX_THREADS_OPTION:
[CMD_OPTIMIZE] =
T(
" %"TS" WIMFILE [--check] [--nocheck] [--recompress]\n"
-" [--compress-slow] [--threads=NUM_THREADS] [--pipable]\n"
+" [--recompress-slow] [--threads=NUM_THREADS] [--pipable]\n"
" [--not-pipable]\n"
),
[CMD_SPLIT] =