CorelDRAW

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Sample files)
 
(43 intermediate revisions by 5 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|ccx}}
+
|extensions={{ext|cdr}}, {{ext|cdt}}, {{ext|cdx}}, {{ext|cpx}}, {{ext|csl}} ,{{ext|pat}}
 +
|pronom={{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.
 
'''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.
  
== Extensions ==
+
== Identifiers ==
  
 
* '''.cdr''': Normal CorelDRAW file
 
* '''.cdr''': Normal CorelDRAW file
 
* '''.cdt''': Template
 
* '''.cdt''': Template
 
* '''.cdx''': Compressed file
 
* '''.cdx''': Compressed file
* '''.cmx''': Corel Presentation Exchange Format
+
* '''.cmx''': [[CMX|Corel Presentation Exchange Format]]
* '''.ccx''': Clip art file (similar to .cmx in format)
+
* '''.ccx''': Compressed .cmx; see [[CCX (Corel)]]
 +
* '''.cpx''': Corel Presentation Exchange Compressed Format (?)
 +
* '''.csl''': Corel Symbol Library
 +
 
 +
{| class="wikitable"
 +
! Format / Version !! Ext. !! RIFF type !! PRONOM !! Filter ID !! Remarks
 +
|-
 +
|Drawing 1.0  ||rowspan="17"| .cdr || n/a || {{PRONOM|fmt/467}} ||
 +
|-
 +
|Drawing 2.0  || n/a || {{PRONOM|fmt/466}} ||
 +
|-
 +
|Drawing 3.0  || <code>CDR</code>  || {{PRONOM|x-fmt/379}} ||
 +
|-
 +
|Drawing 4.0  || <code>CDR4</code> || {{PRONOM|fmt/465}} ||
 +
|-
 +
|Drawing 5.0  || <code>CDR5</code> || {{PRONOM|fmt/464}} ||
 +
|-
 +
|Drawing 6.0  || <code>CDR6</code> || {{PRONOM|x-fmt/29}} ||
 +
|-
 +
|Drawing 7.0  || <code>CDR7</code> || {{PRONOM|x-fmt/291}} ||
 +
|-
 +
|Drawing 8.0  || <code>CDR8</code> || {{PRONOM|x-fmt/292}} ||
 +
|-
 +
|Drawing 8.0 Bidi || <code>cdr8</code> || {{PRONOM|fmt/1924}} ||
 +
|-
 +
|Drawing 9.0  || <code>CDR9</code> || {{PRONOM|x-fmt/374}} ||
 +
|-
 +
|Drawing 10.0 || <code>CDRA</code> || {{PRONOM|x-fmt/375}} ||
 +
|-
 +
|Drawing 11.0 || <code>CDRB</code> || {{PRONOM|x-fmt/378}} ||
 +
|-
 +
|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 X4  || <code>CDRE</code> || {{PRONOM|fmt/429}} ||
 +
|-
 +
|Drawing X5  || <code>CDRF</code> || {{PRONOM|fmt/430}} ||
 +
|-
 +
|Drawing X6  || rowspan="10"| .dat || <code>CDRG</code> || {{PRONOM|fmt/1925}} || || rowspan="10"| In [[ZIP]] CDR Container, content/root.dat
 +
|-
 +
|Drawing X7  || <code>CDRH</code> || {{PRONOM|fmt/1926}} ||
 +
|-
 +
|Drawing X8  || <code>CDRJ</code> || {{PRONOM|fmt/1927}} ||
 +
|-
 +
|Drawing 2017 || <code>CDRK</code> || {{PRONOM|fmt/1928}} ||
 +
|-
 +
|Drawing 2018 || <code>CDRL</code> || {{PRONOM|fmt/1929}} ||
 +
|-
 +
|Drawing 2019 || <code>CDRM</code> || {{PRONOM|fmt/1930}} ||
 +
|-
 +
|Drawing 2020 || <code>CDRN</code> || {{PRONOM|fmt/1931}} ||
 +
|-
 +
|Drawing 2021 || <code>CDRO</code> || {{PRONOM|fmt/1932}} ||
 +
|-
 +
|Drawing 2022 || <code>CDRP</code> || {{PRONOM|fmt/1933}} ||
 +
|-
 +
|Drawing 2023 || <code>CDRQ</code> || {{PRONOM|fmt/1934}} ||
 +
|-
 +
|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
 +
|-
 +
|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
 +
|-
 +
|CMX Compressed || .cpx || || {{PRONOM|x-fmt/36}} || CorelID=0x705
 +
|-
 +
|CCX Clipart || .ccx ||<code>CDRX</code> || || || See main article: [[CCX (Corel)]]
 +
|-
 +
|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 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 ==
 +
* [[CCX (Corel)]]
 +
* [[CMX]]
 +
* [[CorelChart]]
 +
* [[CorelMOSAIC library]]
 +
* [[CorelMOVE]]
 +
* [[Corel R.A.V.E.]]
 +
* [[SHW (Corel)]]
 +
* [[WFN (font format)]]
  
 
== Software ==
 
== Software ==
* [http://www.freedesktop.org/wiki/Software/libcdr/ libcdr]
+
* [https://wiki.documentfoundation.org/DLP/Libraries/libcdr libcdr]
 +
* [https://www.libreoffice.org/ LibreOffice]
 +
* [https://github.com/unoconv/unoconv unoconv]
 +
* [https://github.com/kaitai-io/coreldraw_cdr.ksy/blob/master/bin/cdr-unpk coreldraw_cdr.ksy KaiTai structure]
  
 
== 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}}
 +
* {{CdTextfilesURL|ccbwindows93/CORELDRA/}}
 +
* {{DexvertSamples|image/cdr}}
 +
* {{DexvertSamples|archive/corelThumbnails}}
 +
* {{DexvertSamples|image/corelDrawPattern}}
  
 
== Links ==
 
== Links ==
* [[Wikipedia:CorelDRAW|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]
* [http://sk1project.org/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]
 +
 
 +
== References ==
 +
<references/>
  
 
[[Category:RIFF based file formats]]
 
[[Category:RIFF based file formats]]
 +
[[Category:Corel]]
 +
[[Category:ZIP based file formats]]

Latest revision as of 04:40, 28 December 2023

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

[edit] 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 fmt/1924
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 fmt/1925 In ZIP CDR Container, content/root.dat
Drawing X7 CDRH fmt/1926
Drawing X8 CDRJ fmt/1927
Drawing 2017 CDRK fmt/1928
Drawing 2018 CDRL fmt/1929
Drawing 2019 CDRM fmt/1930
Drawing 2020 CDRN fmt/1931
Drawing 2021 CDRO fmt/1932
Drawing 2022 CDRP fmt/1933
Drawing 2023 CDRQ fmt/1934
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.

[edit] 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"

[edit] See also

[edit] Software

[edit] Sample files

[edit] Links

[edit] References

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

Variants
Actions
Navigation
Toolbox