Author Topic: updated bitmap-miff.trid.xml for ImageMagick Machine independent File  (Read 135 times)


  • Full Member
  • ***
  • Posts: 102
Hello trid users,

some days ago i had to handle some ImageMagick bitmaps which have
normally filename extension miff. When searching on my systems for
such files and running trid some samples like smile_anim.miff are
described as "Unknown!" (See appended output/trid-old.txt).

For comparison reason i run other utilities.
The droid tool { found at } only
recognize the variant described by bitmap-miff-rem.trid.xml ( see
appended output/droid.csv).
The file utility {} also
does not recognize the unknown samples (See appended

So i update bitmap-miff.trid.xml by running tridscan on undetected

First the used reference URL does
not exist any more. So i replace it with page about MIFF File Format on by line


According to that site MIFF files should start with keyword-value combination
id=ImageMagick. So "good" examples are detected by XML construct:

   <ASCII> i d = I m a g e M a g i c k</ASCII>

The undetected samples start with the capitalized phrase Id=ImageMagick. So
in front block section this pattern now becomes

   <ASCII> d = I m a g e M a g i c k</ASCII>

So i also add a global string section with line


Some sites use image/miff as mime type, but i found no such official
registered type at IANA. So i add a user defined one by line:


Where do i find the "bad" but functioning examples? In the demo sub directory
inside the ImageMagick sources. So ImageMagick itself violates it's own file
format recommendations.

With the new trid definition all miff-examples are now described ( see
appended output/trid-new-v.txt). TrID definition, some examples and output
are stored in archive I hope that my XML file can be used in
future version of triddefs.

With best wishes
Jörg Jenderek


  • Administrator
  • Hero Member
  • *****
  • Posts: 1932
    • Mark0's Home Page
Re: updated bitmap-miff.trid.xml for ImageMagick Machine independent File
« Reply #1 on: November 13, 2019, 01:42:11 PM »
Perfect, thanks!