MDI
From Just Solve the File Format Problem
MDI is a proprietary image format used by Microsoft Office Document Imaging.
It is almost identical to TIFF, but has a different header, and may use one of several undocumented compression schemes.
Identification
Files begin with bytes 45 50 2a 00
.
Compression
The compression schemes are reportedly defined as follows:
Code | Compression scheme |
---|---|
34718 | Binary Level Codec (BLC) |
34719 | Progressive Transform Codec (PTC) |
34720 | Vector |
Other sources give the following, but 34719 and 34720 may have been accidentally swapped.
Code | Compression scheme |
---|---|
34718 | MODI_BLC |
34719 | MODI_VECTOR |
34720 | MODI_PTC |