I've never used it but there is uif2iso in the repo's - will that do what you need?
Description: Convert UIF files (Universal Image Format) to uncompressed images
Program for converting the UIF files (Universal Image Format, used by MagicISO) to
uncompressed images depending by the input file type: ISO, BIN/CUE, MDS/MDF,
CCD/IMG/SUB and NRG.