Mark0's Forum
		Software => TrID File Identifier => Topic started by: jenderek on March 08, 2023, 02:56:38 PM
		
			
			- 
				Hello trid users,
 
 some days ago i looked at CD-ROM images to install Linux. On some
 distribution like Knoppix using syslinux/isolinux as boot loader i found
 graphical image used by loader during boot process. On
 KNOPPIX_V9.1DVD-2021-01-25-DE.iso CD-ROM images this is named logo.16 and
 found in isolinux sub directory. Such samples can also be found in
 syslinux. In package syslinux-6.03.zip her such images are called
 syslogo.lss and are located in sample sub directory.
 
 When running TrID command on such examples these are described as "LSS16
 SYSLINUX Splash image" by "bitmap-lss16.trid.xml". 2 possible file name
 suffix are listed here "(.LSS/16)" (See appended output/trid-v.txt).
 
 For comparison reason i also run file command (newest version 5.44) on such
 samples. Here such samples are described as "SYSLINUX' LSS16 image data"
 (See appended output/file-5.44.txt). But when running this with --extension
 option no suffix is listed here (See appended output/file-ext-5.44.txt). But
 when running with -i option a mime type is shown. That is image/x-lss16 (See
 appended output/file-i-5.44.txt).
 
 That information can also be found in x-lss16.xml inside the syslinux
 package in path like mime/image. This file can be used as fragment for
 shared-mime-info database. On my Raspberry Pi there this entry is missing in
 mime database.
 
 For comparison reason i also run the file format identification utility
 DROID ( See https://sourceforge.net/projects/droid/). This does not
 recognize such images.
 
 So i update definition and now show mime type. That is expressed by line
 like:
 <Mime>image/x-lss16</Mime>
 
 The suffix for such splash images is often lss or some times 16. That is
 expressed by line like:
 <Ext>LSS/16</Ext>
 
 Unfortunately these 2 suffix are also used by other file types. So i also
 found LSS for lynx.lss. That is a configuration file for Lynx text based web
 browser. The 16 Suffix is also used for some font samples like hebrew.16.
 So an unique mime type is especially needed, when you are interested that
 the most best describing system will win.
 
 With the new trid definitions now my syslinux splash images are still
 described but now also the right mime type is shown (see appended
 output/trid-v-new.txt). TrID definition and output are stored in archive
 lss_16.zip.
 
 I hope that my updated XML file can be used in future version of triddefs.
 
 With best wishes
 Jörg Jenderek
 
- 
				Thanks Jörg!