Author Topic: cdr-v12,5.trid.xml for version 12.5 of CorelDraw Document  (Read 183 times)


  • Full Member
  • ***
  • Posts: 102
cdr-v12,5.trid.xml for version 12.5 of CorelDraw Document
« on: September 26, 2019, 11:18:14 PM »
Hello trid users,

some days ago i run TrID on my CorelDraw Document test collection. Corel
Drawings with intermediate version 12.5 (created by CoreDraw X3 version are only identified by riff.trid.xml as "Generic RIFF container"
( see appended output/trid-old.txt).

The samples are not recognized as CorelDraw Document by cdr.trid.xml because
second riff tag is string DESC, whereas in other versions second riff tag
starts with up cased string CDR. For version 12.0 this tag is CDRC.  This is
expressed by XML construct:


So this construct does not match Corel Drawing with version 12.5. So i
create cdr-v12,5.trid.xml definition for this version by running tridscan.

The main difference to other riff based Corel Drawings is the second XML
   <ASCII> D E S C v r s n</ASCII>

The version number is also stored in third following 2 byte sized tag vrsn
with hexadecimal value 0xE204. Interpreting this as little endian short
value gives 1250 in decimal. So what is called by CoreDraw version 12.5 is
marked by numeric major version 12 and 50 as minor version. For version 12
the vrsn value is 0xB004 which must be interpreted as major version 12 and 0
as minor version.

Some information about such CorelDraw documents is found on fileformats
archiveteam website. This is expressed by additional line:

There does not exist a registered mime type. According to web site i choose an user defined. This is expressed by line:

When i select in CorelDraw to store drawing with version 12.5, then i could
only save drawing as template with file name extension CDT. When i change
file name extension from created templates to CDR, the CorelDraw program
also accept these files and open such samples without any errors. So 2 file
name can occur for such samples. This is expressed by line:
I also mention this fact by remark line:
   <Rem>CDT is used for template</Rem>

With the new definition file CorelDraw samples with version 12.5 are now
recognized ( see appended output/trid-new-v.txt).

Unfortunately the second riff tag DESC is also used for Corel DESIGN
graphics version 12. So some inspected Corel Drawings are misidentified as
DES-files by trid definition des-corel-v12.trid.xml. So i look for the
differences. For inspected DESIGN samples at offset 22 always riff tag DISP
occurs, whereas for Corel Drawings this tag appears only in some
examples. There exist no official or complete documentation for Corel riff
based file formats. So i see at the moment no way to distinguish in 100% way
Corel drawings from DESIGN graphics.

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

With best wishes
Jörg Jenderek