CorelDRAW

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Format description)
(20 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|cdr}}, {{ext|cdt}}, {{ext|cdx}}, {{ext|cmx}}, {{ext|cpx}}, {{ext|ccx}}
+
|extensions={{ext|cdr}}, {{ext|cdt}}, {{ext|cdx}}, {{ext|cpx}}, {{ext|csl}} ,{{ext|pat}}
 
|pronom={{PRONOM|fmt/430}}, others
 
|pronom={{PRONOM|fmt/430}}, others
 
}}
 
}}
Line 12: Line 12:
 
* '''.cdt''': Template
 
* '''.cdt''': Template
 
* '''.cdx''': Compressed file
 
* '''.cdx''': Compressed file
* '''.cmx''': Corel Presentation Exchange Format
+
* '''.cmx''': [[CMX|Corel Presentation Exchange Format]]
* '''.cpx''': Corel Presentation Exchange Compressed Format
+
* '''.ccx''': Compressed .cmx; see [[CCX (Corel)]]
* '''.ccx''': Clip art file (similar to .cmx in format)
+
* '''.cpx''': Corel Presentation Exchange Compressed Format (?)
 +
* '''.csl''': Corel Symbol Library
  
 
{| class="wikitable"
 
{| class="wikitable"
! Format / Version !! Ext. !! RIFF type !! PRONOM !! Filter ID
+
! Format / Version !! Ext. !! RIFF type !! PRONOM !! Filter ID !! Remarks
 
|-
 
|-
|Drawing 1.0  ||rowspan="15"| .cdr || n/a || {{PRONOM|fmt/467}} ||
+
|Drawing 1.0  ||rowspan="17"| .cdr || n/a || {{PRONOM|fmt/467}} ||
 
|-
 
|-
 
|Drawing 2.0  || n/a || {{PRONOM|fmt/466}} ||
 
|Drawing 2.0  || n/a || {{PRONOM|fmt/466}} ||
Line 34: Line 35:
 
|-
 
|-
 
|Drawing 8.0  || <code>CDR8</code> || {{PRONOM|x-fmt/292}} ||
 
|Drawing 8.0  || <code>CDR8</code> || {{PRONOM|x-fmt/292}} ||
 +
|-
 +
|Drawing 8.0 Bidi || <code>cdr8</code> ||  ||
 
|-
 
|-
 
|Drawing 9.0  || <code>CDR9</code> || {{PRONOM|x-fmt/374}} ||
 
|Drawing 9.0  || <code>CDR9</code> || {{PRONOM|x-fmt/374}} ||
Line 42: Line 45:
 
|-
 
|-
 
|Drawing 12.0 || <code>CDRC</code> || {{PRONOM|fmt/427}} ||
 
|Drawing 12.0 || <code>CDRC</code> || {{PRONOM|fmt/427}} ||
 +
|-
 +
|Drawing 12.5 || <code>DESC</code> ||  || || Only template
 
|-
 
|-
 
|Drawing X3  || <code>CDRD</code> || {{PRONOM|fmt/428}} ||
 
|Drawing X3  || <code>CDRD</code> || {{PRONOM|fmt/428}} ||
Line 49: Line 54:
 
|Drawing X5  || <code>CDRF</code> || {{PRONOM|fmt/430}} ||
 
|Drawing X5  || <code>CDRF</code> || {{PRONOM|fmt/430}} ||
 
|-
 
|-
|Template || .cdt || || {{PRONOM|x-fmt/30}} ||
+
|Drawing X6  || rowspan="7"| .dat || <code>CDRG</code> ||  ||
 +
|-
 +
|Drawing X7  || <code>CDRH</code> ||  ||
 +
|-
 +
|Drawing X8  || <code>CDRJ</code> ||  ||
 +
|-
 +
|Drawing 2017 || <code>CDRK</code> ||  ||
 +
|-
 +
|Drawing 2018 || <code>CDRL</code> ||  ||
 +
|-
 +
|Drawing 2019 || <code>CDRM</code> ||  ||
 +
|-
 +
|Drawing 2020 || <code>CDRN</code> ||  ||
 +
|-
 +
|Template || .cdt .cdrt || || {{PRONOM|x-fmt/30}} || || Often same RIFF type as Drawing, but RIFF type CDST is used for version 4.4 and created by newer software start with RIFF type CDT and use cdrt extension
 
|-
 
|-
 
|Compressed Drawing || .cdx || || {{PRONOM|x-fmt/31}} || CorelID=0x704
 
|Compressed Drawing || .cdx || || {{PRONOM|x-fmt/31}} || CorelID=0x704
 
|-
 
|-
|Presentation Exchange 5.0 ||rowspan="2"| .cmx ||rowspan="2"| <code>CMX1</code> || {{PRONOM|x-fmt/34}} || CorelID=0x702
+
|Presentation Exchange 5.0 ||rowspan="2"| .cmx ||rowspan="2"| <code>CMX1</code> || {{PRONOM|x-fmt/34}} || CorelID=0x702 ||rowspan="2"| See main article: [[CMX]]
 
|-
 
|-
 
|Presentation Exchange 6+ || {{PRONOM|x-fmt/35}} || CorelID=0x701
 
|Presentation Exchange 6+ || {{PRONOM|x-fmt/35}} || CorelID=0x701
Line 59: Line 78:
 
|CMX Compressed || .cpx || || {{PRONOM|x-fmt/36}} || CorelID=0x705
 
|CMX Compressed || .cpx || || {{PRONOM|x-fmt/36}} || CorelID=0x705
 
|-
 
|-
|CCX Clipart || .ccx ||<code>CDRX</code> || ||  
+
|CCX Clipart || .ccx ||<code>CDRX</code> || || || See main article: [[CCX (Corel)]]
 
|-
 
|-
|Pattern || .pat || || {{PRONOM|x-fmt/76}} ||
+
|Pattern || .pat || || {{PRONOM|x-fmt/76}} || || Same as .cdr format?
 +
|-
 +
|Symbol Library || .csl ||<code>CSL?</code> || || || Same as .cdr format? Start with RIFF type CSL. Numeric version after vrsn tag does not match version digit at offset 11.
 
|}
 
|}
  
 
== Format description ==
 
== Format description ==
  
Early CorelDraw files are of an undocumented proprietary format where the first two bytes spell <code>WL</code> in [[ASCII]]. Later formats were based on [[RIFF]], with <code>RIFF</code> as the first four bytes and a version identifier in bytes 9 to 15. The inner details (the data chunk of the RIFF version) remain proprietary.
+
Early CorelDraw files are of an undocumented proprietary format where the first two bytes spell <code>WL</code> in [[ASCII]]. Later formats were based on [[RIFF]], with <code>RIFF</code> as the first four bytes and a version identifier in bytes 9 to 15. Til version 15 at offset 12 four character identifier vrsn occur, followed by the 32-bit integer 2 for chunk size and a 2 byte chunk content. The value of the content is calculated by sum of major version number multiplied by 100 and minor version number.
 +
From version 16 at offset 12 four character identifier fver occur, followed by the 32-bit integer 16 for chunk size and a 16 bytes chunk content. The byte before the last byte of this chunk contains the major version number and the byte before contains the minor version number. The inner details (the data chunk of the RIFF version) remain proprietary.
  
Compressed formats, .CPX & .CDX are open/import only filters in versions in CorelDraw from version 6 on. Support for CDX was dropped after X6. Presumably formats released from Corel as clipart. (need to samples to confirm)
+
Compressed formats, .CPX & .CDX are open/import only filters in versions of CorelDraw from version 6 on. Support for CDX was dropped after X6. Released as compressed formats on the Corel ArtShow CD's during the 1990's<ref>ftp://ftp.corel.com/pub/Other_Graphics_Apps/ArtShow/4550.txt</ref>.
 +
 
 +
* ArtShow 91 (File formats supported: CDR, PCX, DIB, MID)
 +
* [https://archive.org/details/corel-art-show-3-1992 ArtShow 3] (File formats supported: BMP, CDR, PCX, PCD)
 +
* [https://archive.org/details/corel-art-show-4-1993 ArtShow 4] (File formats supported: BMP, CD_, PCX, PCD) .CD_ files use [[MS-DOS_installation_compression|SZDD]] compression.
 +
* [https://archive.org/details/corel-art-show-5-1994 ArtShow 5] (File formats supported: CDX) Header begins with "{{magic|CDRCOMP1}}"
 +
* [https://archive.org/details/corel-art-show-6-1995 ArtShow 6] & 7 (File formats supported: CPX) Header begins with "{{magic|CDRCOMP2}}"
  
 
== See also ==
 
== See also ==
 +
* [[CCX (Corel)]]
 +
* [[CMX]]
 
* [[SHW (Corel)]]
 
* [[SHW (Corel)]]
 
* [[WFN (font format)]]
 
* [[WFN (font format)]]
Line 77: Line 107:
 
* [https://wiki.documentfoundation.org/DLP/Libraries/libcdr libcdr]
 
* [https://wiki.documentfoundation.org/DLP/Libraries/libcdr libcdr]
 
* [https://www.libreoffice.org/ LibreOffice]
 
* [https://www.libreoffice.org/ LibreOffice]
 +
* [https://github.com/unoconv/unoconv unoconv]
  
 
== Sample files ==
 
== Sample files ==
* http://cd.textfiles.com/monstmedia/CLIPART/ → *.CDR
+
* {{CdTextfilesURL|monstmedia/CLIPART/}} → *.CDR
* http://cd.textfiles.com/1stcanadian/graphics/cor2help/
+
* {{CdTextfilesURL|1stcanadian/graphics/cor2help/}}
* http://cd.textfiles.com/somuch/smsharew/CLIPART/1992CALS.ZIP
+
* {{CdTextfilesURL|somuch/smsharew/CLIPART/1992CALS.ZIP}}
* http://cd.textfiles.com/ccbwindows93/CORELDRA/
+
* {{CdTextfilesURL|ccbwindows93/CORELDRA/}}
* [https://archive.org/details/GALLERYCorelClipart-roverinfo CCX Samples]
+
* https://telparia.com/fileFormatSamples/image/cdr/
 +
* https://telparia.com/fileFormatSamples/archive/corelThumbnails/ → *.cdx
  
 
== Links ==
 
== Links ==
 
* [[Wikipedia: CorelDRAW]]
 
* [[Wikipedia: CorelDRAW]]
* [http://www.leadtools.com/help/leadtools/v18/dh/to/leadtools.topics.leadtools~l.topics.fileformatscmx.html CMX file format info]
+
* [https://www.corel.com/content/pdf/corporate/History_of_Corel.pdf History of Corel]
 
* [https://sk1project.net/modules.php?name=Products&product=sk1 sK1 program attempts to reverse-engineer CorelDRAW format]
 
* [https://sk1project.net/modules.php?name=Products&product=sk1 sK1 program attempts to reverse-engineer CorelDRAW format]
 
* [http://libregraphicsworld.org/blog/entry/corel-draw-x6-file-format-subdued-by-libcdr Corel DRAW X6 file format subdued by libcdr]
 
* [http://libregraphicsworld.org/blog/entry/corel-draw-x6-file-format-subdued-by-libcdr Corel DRAW X6 file format subdued by libcdr]
 +
 +
== References ==
 +
<references/>
  
 
[[Category:RIFF based file formats]]
 
[[Category:RIFF based file formats]]
 
[[Category:Corel]]
 
[[Category:Corel]]

Revision as of 15:05, 30 July 2020

File Format
Name CorelDRAW
Ontology
Extension(s) .cdr, .cdt, .cdx, .cpx, .csl ,.pat
PRONOM fmt/430, others

CorelDRAW is a vector graphics drawing program. Its native file format is generally found in .cdr files, but other extensions exist for variants of it. The format has gone through several major revisions over the years.

Contents

Identifiers

  • .cdr: Normal CorelDRAW file
  • .cdt: Template
  • .cdx: Compressed file
  • .cmx: Corel Presentation Exchange Format
  • .ccx: Compressed .cmx; see CCX (Corel)
  • .cpx: Corel Presentation Exchange Compressed Format (?)
  • .csl: Corel Symbol Library
Format / Version Ext. RIFF type PRONOM Filter ID Remarks
Drawing 1.0 .cdr n/a fmt/467
Drawing 2.0 n/a fmt/466
Drawing 3.0 CDR x-fmt/379
Drawing 4.0 CDR4 fmt/465
Drawing 5.0 CDR5 fmt/464
Drawing 6.0 CDR6 x-fmt/29
Drawing 7.0 CDR7 x-fmt/291
Drawing 8.0 CDR8 x-fmt/292
Drawing 8.0 Bidi cdr8
Drawing 9.0 CDR9 x-fmt/374
Drawing 10.0 CDRA x-fmt/375
Drawing 11.0 CDRB x-fmt/378
Drawing 12.0 CDRC fmt/427
Drawing 12.5 DESC Only template
Drawing X3 CDRD fmt/428
Drawing X4 CDRE fmt/429
Drawing X5 CDRF fmt/430
Drawing X6 .dat CDRG
Drawing X7 CDRH
Drawing X8 CDRJ
Drawing 2017 CDRK
Drawing 2018 CDRL
Drawing 2019 CDRM
Drawing 2020 CDRN
Template .cdt .cdrt x-fmt/30 Often same RIFF type as Drawing, but RIFF type CDST is used for version 4.4 and created by newer software start with RIFF type CDT and use cdrt extension
Compressed Drawing .cdx x-fmt/31 CorelID=0x704
Presentation Exchange 5.0 .cmx CMX1 x-fmt/34 CorelID=0x702 See main article: CMX
Presentation Exchange 6+ x-fmt/35 CorelID=0x701
CMX Compressed .cpx x-fmt/36 CorelID=0x705
CCX Clipart .ccx CDRX See main article: CCX (Corel)
Pattern .pat x-fmt/76 Same as .cdr format?
Symbol Library .csl CSL? Same as .cdr format? Start with RIFF type CSL. Numeric version after vrsn tag does not match version digit at offset 11.

Format description

Early CorelDraw files are of an undocumented proprietary format where the first two bytes spell WL in ASCII. Later formats were based on RIFF, with RIFF as the first four bytes and a version identifier in bytes 9 to 15. Til version 15 at offset 12 four character identifier vrsn occur, followed by the 32-bit integer 2 for chunk size and a 2 byte chunk content. The value of the content is calculated by sum of major version number multiplied by 100 and minor version number. From version 16 at offset 12 four character identifier fver occur, followed by the 32-bit integer 16 for chunk size and a 16 bytes chunk content. The byte before the last byte of this chunk contains the major version number and the byte before contains the minor version number. The inner details (the data chunk of the RIFF version) remain proprietary.

Compressed formats, .CPX & .CDX are open/import only filters in versions of CorelDraw from version 6 on. Support for CDX was dropped after X6. Released as compressed formats on the Corel ArtShow CD's during the 1990's[1].

  • ArtShow 91 (File formats supported: CDR, PCX, DIB, MID)
  • ArtShow 3 (File formats supported: BMP, CDR, PCX, PCD)
  • ArtShow 4 (File formats supported: BMP, CD_, PCX, PCD) .CD_ files use SZDD compression.
  • ArtShow 5 (File formats supported: CDX) Header begins with "CDRCOMP1"
  • ArtShow 6 & 7 (File formats supported: CPX) Header begins with "CDRCOMP2"

See also

Software

Sample files

Links

References

  1. ftp://ftp.corel.com/pub/Other_Graphics_Apps/ArtShow/4550.txt
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox