wimlib v1.5.3 has been released:
- The new LZX compressor added in v1.5.2 has been improved and is now enabled by default, except when `wimcapture' or `wimappend' is run *without* the '--compress' option, in which case the faster LZX compressor is used (the same as before). This behavior is reasonably consistent with ImageX which actually uses "fast" (XPRESS) compression by default. In those cases, use '--compress=maximum' to explicitly capture a WIM image using the new (slower but better) LZX compressor.
- The '--compress-slow' option still exists to `wimlib-imagex optimize', but its new behavior is to tweak the new LZX compressor even more to produce an even better compression ratio at the cost of more time spent compressing.
- `wimlib-imagex optimize' now supports the '--compress=TYPE' option, which recompresses the WIM file using the specified compression TYPE. The new library API function used for this is wimlib_set_output_compression_type().
- Added the wimlib_get_xml_data() function to allow library clients to easily retrieve the raw XML data from a WIM file if needed.
- Fixed a bug that could cause an error code to be incorrectly returned when writing XML data containing a <WINDOWS> element.
- Mounted WIM images will now correctly show the default file stream even if appears in the alternate data stream entries of the corresponding WIM directory entry.
I'd be interested in hearing whether anyone finds the updated LZX compressor useful. While the v1.5.2 LZX compressor seemed to compress slightly worse than the MS one and was several times slower, the v1.5.3 compressor seems to compress very slightly better than the MS one and is only slightly slower. (With --compress-slow even more compression is obtained, but it's significantly slower.)