Command-line tools to encode and decode Error Correction Model (ECM) files
The ECM format is only useful in the context of raw sector-by-sector data files copied from an optical disk, such as bin/cue files. This utility strips out the error correction data (which is redundant and yet nearly impossible to compress) allowing standard compression tools to be much more effective at reducing the size of the disk image.
To decompress a .ecm file, use the following syntax:
ecm-tools.ecm -d -v < filename.ecm > filename.bin
Note that you must refer to this program with the snap name prefix.