Hello trid users,
some days ago i run TrID on newer (zipped) Corel Drawings. Most are
identified by cdr-zip.trid.xml as "CorelDRAW drawing (zipped)". One example
like CORELDRAW-x8.CDT is only described by zip-doc-cont.trid.xml as "Zip
document container (generic)". Besides of only mentioned extension CDR also
CDT and CDRT for templates is used. Furthermore for all examples the
deprecated mime type "application/x-coreldraw" is used. ( see appended
output/trid-old-v.txt).
The newest version of file command {
https://en.wikipedia.org/wiki/File_(command) } identifies such Corel Drawings
( see appended output/file-new.txt). Furthermore it shows the correct file
name extensions which is CDRT or CDT for templates ( see appended
output/file-new-extension.txt). It also show the correct mime types which is
different for versions and templates. ( see appended output/file-new-i.txt).
The inspected Corel Drawings are just zip containers. This was expressed by
XML-construct:
<Bytes>504B0304</Bytes>
<ASCII> P K</ASCII>
<Pos>0</Pos>
First archive member is a file with name mime type and the content is the
corresponding mime type. So now CorelDRAW drawing from version 14 til 16 are
described by cdr-v14-zip.trid.xml with pattern like
<Bytes>6D696D65747970656170706C69636174696F6E2F</Bytes>
<ASCII> m i m e t y p e a p p l i c a t i o n /</ASCII>
<Pos>30</Pos>
and in global string the mime type fragments are mentioned like
<String>X-VND.COREL.DRAW.TEMPLATE+ZIPPK</String>
<String>MIMETYPEAPPLICATION</String>
With the new 4 trid definition all examples are now described more precisely
( see appended output/trid-new-v.txt). TrID definitions , some samples and output
are stored in archive cdr.zip. I hope that my XML files can be used in future
version of triddefs.
With best wishes
Jörg Jenderek