Hello,
when i run TrID on dozens of Palette (*.GPL) mainly from GIMP 2.8.22 only some
are identified correct as "GIMP Palette" whereas most are described as
"Unknown!" ( see appended output/trid-old.txt ).
The file(1) command describes such files correct as "GIMP palette data" ( see
appended output/file-5.31.txt ).
So i update definition by running tridscan and finally get gpl.trid.xml.
After comparing old and new definition file it can be seen that a line like
"Columns: 16" found for example in Ega.gpl is not always part of palette files.
This is expressed that in global string section an XML line is removed like:
<String>COLUMNS</String>
Furthermore in old definition file gimp page on Wikipedia was used as
reference by line:
<RefURL>
http://en.wikipedia.org/wiki/GIMP</RefURL>
This is a little too general. So replace it by gimp documentation page
concerning "Palettes" by XML line:
<RefURL>
https://docs.gimp.org/en/gimp-concepts-palettes.html</RefURL>
Because there exist also other text files with GPL extension like the "GPL
License File" it is useful to give a short additional description for that
text file sort. Characteristic for gimp pgl files as lines defining the color
inside palette. So expressed this fact by remark line like:
<Rem>
color line consists of red green blue number values and an optional color name
</Rem>
With updated definition file all inspected palette files now described
correct (See appended output/trid-new.txt).
TrID definition, output are stored in archive gimp_.zip.
I hope that my XML file can be used in future version of triddefs.
With best wishes
Joerg Jenderek