MIE files "Meta Information Encapsulation"

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

MIE files "Meta Information Encapsulation"

Post by oops66 »

Hello,
It will be nice to have xnview able to créate and read *.mie file.
(MIE files can save or restore or modify EXIF, XMP, IPTC, ... data, (from or to) files like *.jpg, *.avi, *.pdf,...).
MIE with Exiftool can also add some extra composite data (custom calculated data) into *.jpg files in ExifTool_config file, like:

Code: Select all

Circle Of Confusion             : 0.005 mm
Focal Length                    : 16.7mm (35mm equivalent: 9.1mm)
Scale Factor To 35mm Equivalent : 5.9
Hyperfocal Distance             : 16.68 m
Light Value                     : 8.4
GPS Position                    : 47 deg 13' 35.26" N, 1 deg 33' 36.66" W
Exiftool use it : http://www.sno.phy.queensu.ca/~phil/exiftool/
PDF file: http://www.sno.phy.queensu.ca/~phil/exi ... 070121.pdf
http://search.cpan.org/~exiftool/Image- ... ool/MIE.pm
What is MIE?
MIE stands for "Meta Information Encapsulation" - MARPLOT Import Export (MIE) file.
The MIE format is an extensible, dedicated
meta information format which supports storage of binary as well as textual meta information.
MIE can be used to encapsulate meta information from many sources and bundle it together with
any type of file.
Features
Below is very subjective score card comparing the features of a number of common file and meta
information formats, and comparing them to MIE. The following features are rated for each

Code: Select all

format with a score of 0 to 10:
  1) Extensible (can incorporate user-defined information).
  2) Meaningful tag ID's (hint to meaning of unknown information).
  3) Sequential read/write ability (streamable).
  4) Hierarchical information structure.
  5) Easy to implement reader/writer/editor.
  6) Order of information well defined.
  7) Large data lengths supported: >64kB (+5) and >4GB (+5).
  8) Localized text strings.
  9) Multiple documents in a single file.
 10) Compact format doesn't squander disk space or bandwidth.
 11) Compressed meta information supported.
 12) Relocatable data elements (ie. no fixed offsets).
 13) Binary meta information (+7) with variable byte order (+3).
 14) Mandatory tags not required (an unecessary complication).
 15) Append information to end of file without editing.

Code: Select all

                          Feature number                   Total
     Format  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15   Score
     ------ ---------------------------------------------  -----
     MIE    10 10 10 10 10 10 10 10 10 10 10 10 10 10 10    150
     PDF    10 10  0 10  0  0 10  0 10 10 10  0  7 10 10     97
     PNG    10 10 10  0  8  0  5 10  0 10 10 10  0 10  0     93
     XMP    10 10 10 10  2  0 10 10 10  0  0 10  0 10  0     92
     AIFF    0  5 10 10 10  0  5  0  0 10  0 10  7 10  0     77
     RIFF    0  5 10 10 10  0  5  0  0 10  0 10  7 10  0     77
     JPEG   10  0 10  0 10  0  0  0  0 10  0 10  7 10  0     67
     EPS    10 10 10  0  0  0 10  0 10  0  0  5  0 10  0     65
     CIFF    0  0  0 10 10  0  5  0  0 10  0 10 10 10  0     65
     TIFF    0  0  0 10  5 10  5  0 10 10  0  0 10  0  0     60
     EXIF    0  0  0 10  5 10  0  0  0 10  0  0 10  0  0     45
     IPTC    0  0 10  0  8  0  0  0  0 10  0 10  7  0  0     45
By design, MIE ranks highest by a significant margin. Other formats with reasonable scores are
PDF, PNG and XMP, but each has significant weak points. What may be surprising is that TIFF,
EXIF and IPTC rank so low.
http://newsgroup.xnview.com/viewtopic.php?p=55208#55208
XnViewMP Linux X64 - Debian - X64
Post Reply