Hello trid users,
some weeks ago i had to handle some ImageMagick bitmaps which have
normally filename extension miff. But some times also extension mif is
used. When searching on my systems for such files and running trid some
samples are described as "Unknown!" (See appended output/trid-old.txt).
A few information about that undetected file format can be found on
Wikipedia expressed by line like:
<RefURL>
https://en.wikipedia.org/wiki/Management_Information_Format</RefURL>
Apparently such samples are plain text files. This is expressed by line:
<Mime>text/plain</Mime>
So i run tridscan on examples to generate mif-DMI.trid.xml. Such files seem
to always start with string like "Start Component". Some times these word are
capitalized and some times words are in low case. This is described in
front block section by XML constructs:
<ASCII> t a r t</ASCII>
<Pos>1</Pos>
<ASCII> o m p o n e n t</ASCII>
<Pos>7</Pos>
And in global strings section this is described by line:
<String>START COMPONENT</String>
Such mif files also contain other start and end directives. This is expressed
in global strings section by lines like:
<String>END COMPONENT</String>
<String>START ATTRIBUTE</String>
<String>END ATTRIBUTE</String>
<String>START GROUP</String>
<String>END GROUP</String>
With the new trid definition all such mif-examples are now described ( see
appended output/trid-v-new.txt). TrID definition, some examples and output
are stored in archive mif.zip. I hope that my XML file can be used in future
version of triddefs.
With best wishes
Jörg Jenderek