Skip to main content
michaelo72816984
Participant
April 17, 2019
Question

Extracting the DIB section from a MIF file

  • April 17, 2019
  • 1 reply
  • 621 views

Hi, We are extracting information from FM 2017 technical documents into the MIF format for processing in other systems. The documents have many embedded graphics that were copied into FM not referenced.. These come out in the MIF as a DIB section which has been encoded as unsigned bytes with hex ect.

Does anyone know how I can re-hydrate this MIF DIB section into the real image?

    This topic has been closed for replies.

    1 reply

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    April 17, 2019

    Is producing a PDF from the Fm files, then placing the (cropped?) PDF untenable?

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    michaelo72816984
    Participant
    April 17, 2019

    That was actually a thought. However we are already processing the MIF files for other data, so it would be a simple matter to extract the DIB section from the MIF file using that code. I However I have no idea how that section was encoded so I can not un-encode it. I was hoping someone knew. If not I will have to pursue the PDF route. FYI I also have looked at saving the FM file as HTML, thus getting the graphics that way, but the HTML save is way too slow as these are large FM files.