Professional text and hex editing with Binary Templates technology.
SplitMiffHeaders.1sc
Cut (or copy, if source file is read-only) MIFF header(s) to new file(s). Not fully compatible with all valid MIFF files, but should work with those generated by ImageMagick.