First the HxC product contains a virtual disk program that is able to read .IMD and write in a bzillion different formats
Also ... IMDU.COM
from Dave Dunfiled Imagedisk (ver 118) program
8. IMDU: ImageDisk Utility
IMageDisk Utility (IMDU) allows you to manipulate ImageDisk .IMD
files. The functions which can performed by IMDU are:
- Display track/sector detail.
- Compare two .IMD files.
- Merge two .IMD files, extracting missing tracks and
sectors from one to complete another.
- Remove specific tracks/sides.
- Translate the data rate values.
- regenerate track data with a new interleave factor.
- Compress/Expand "all same" sectors.
- Convert .IMD file to raw binary .BIN format.
- Extract, Append and Replace the image comment record.
ImageDisk Page: 30
8.2 Command line options
Use: IMDU input-image [[merge-image] [output-image]] [options]
opts: /B - output Binary image
/C - Compress "all-same" sectors
/D - display track/sector Detail
/E - Expand compressed sectors to full data
/M - ignore Mode difference in merge/compare
/NB - force Non-Bad data
/ND - force Non-deleted data
/Q - Quiet: supress warnings
/Y - auto-Yes (no overwrite prompt)
AC=file[.TXT] - Append Comment from file [none]
EC=file[.TXT] - Extract Comment to file [none]
F=xx - missing sector Fill value 
IL=[1-99] - reInterLeave(blank=BestGuess) [As read]
RC=file[.TXT] - Replace Comment from file [none]
T2=250/300/500 - 250khz Translate 
T3=250/300/500 - 300khz Translate 
T5=250/300/500 - 500khz Translate 
X=track[,to_track] - eXclude entire track(s) [None]
X0=track[,to_track] - eXclude track(s) side 0 only [None]
X1=track[,to_track] - eXclude track(s) side 1 only [None]
In general, IMDU works by reading the input-image, and writing the
output-image, performing whatever adjustments are specified by the
I mention the exact filenames so that on the github you can easily search for stuff.
(Oh and raw disk output i.e. binary would be .dsk format for imdu .com )