Author Topic: updated bitmap-b_w.trid.xml for *.B&W  (Read 1820 times)

jenderek

  • Sr. Member
  • ****
  • Posts: 375
updated bitmap-b_w.trid.xml for *.B&W
« on: May 10, 2021, 12:56:32 AM »
Hello trid users,

some days ago my system with Windows 10 updates itself. When checking
the system with ccleaner many file name associations are now broken.
So i look for the reported filename extensions. One file name extension
is B_W.

When i run TrID command on such examples and related files i get an output.
All my B_W examples like abydos.b_w are described by bitmap-b_w.trid.xml
correctly as "ImageLab bitmap" with file name extension B_W (See appended
output/trid-v-old.txt).
But examples with file name extension B&W like example MAEDCHEN.B&W are also
described by that definition. So second extension is missing in definition.

For comparison reason i also run the newest (>5.40) file utility.  This
describes all the B&W examples as "ImageLab bitmap" (see appended
output/file.txt).
Instead of generic mime type "application/octet-stream" it displays a user
defined mime type "image/x-ilab" (see appended output/file-i.txt).
So according to documentation i update bitmap-b_w.trid.xml and add that
information by additional line like:
   <Mime>image/x-ilab</Mime>

It also displays the two file name extensions as "b_w/b&w" (see appended
output/file-extension.txt). So according to documentation i update
bitmap-b_w.trid.xml and add that information by updated line like:
   <Ext>B_W/B&W</Ext>

In TrID definition a page on Atari wiki was used. That was expressed by line
like:
 <RefURL>
 http://www.atari-wiki.com/index.php/ImageLab_file_format
 </RefURL>
The web site still exist, but i not find there a page about the ImageLab
file format. Some information about the B_W image file format can be found
on file formats archive team web site. This is now expressed by updated
reference URL line like:
 <RefURL>
 http://fileformats.archiveteam.org/wiki/ImageLab/PrintTechnic
 </RefURL>

Now with the updated definition both extensions are displayed and mime type is
also shown (See appended output/trid-v-new.txt).

TrID definition, some examples and output are stored in archive b_w.zip. I
hope that my XML file can be used in future version of triddefs.

With best wishes
Jörg Jenderek

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: updated bitmap-b_w.trid.xml for *.B&W
« Reply #1 on: May 10, 2021, 02:08:17 AM »
Thanks!