Author Topic: csl-corel.trid.xml for Corel Symbol Library (*.csl)  (Read 107 times)

jenderek

  • Jr. Member
  • **
  • Posts: 95
csl-corel.trid.xml for Corel Symbol Library (*.csl)
« on: October 10, 2019, 08:34:33 PM »
Hello trid users,

some days ago i run TrID on riff based Corel examples with name name
extension csl. Such files are only identified by riff.trid.xml as "Generic
RIFF container" ( see appended output/trid-old.txt).

According to Coreldraw X3 program this file type is "Corel Symbol Library".
So i run tridscan on samples and delete null patterns and get definition
file csl-corel.trid.xml. Some information about such graphic is found on
corel.com website inside Corel Draw product help. This is expressed by line:

<RefURL>
http://product.corel.com/help/CorelDRAW/540223850/Main/EN/Documentation/CorelDRAW-Corel-Symbol-Library-CSL.html
</RefURL>

Characteristic is the second riff chunk CSL followed by 1 character in range
from '1' til '4' which indicates version.

The version is also stored by the 2 byte sized version tag vrsn. This is
expressed by XML construct:

   
   <Bytes>7672736E02000000</Bytes>
   <ASCII> v r s n</ASCII>
   <Pos>12</Pos>

The used riff file format is well known, but the inner details (the data
chunk of the RIFF tags) remain proprietary and no complete or official
documentation exist. So i do not know how to distinguish exactly between
Corel Symbol Library, Drawing, Design graphics and Patterns.

So i keep no null constant byte sequences expressed by XML constructs like:

   <Bytes>0000C30E0000C30E0000</Bytes>
   <Pos>56</Pos>

I also keep in global string sections strings, which seems to appear in all
mentioned Corel file types by:

   <String>LIST4'''CMPR</String>
   <String>INFOIKEY</String>
   <String>CPNG</String>
   <String>ICMT</String>
   <String>SUMI</String>

With the new definition files the undetected Corel CSL samples are now
recognized ( see appended output/trid-new-v.txt). TrID definitions, some
examples and output are stored in archive csl.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: 1906
    • Mark0's Home Page
Re: csl-corel.trid.xml for Corel Symbol Library (*.csl)
« Reply #1 on: October 10, 2019, 09:16:05 PM »
Thanks!