CorelDRAW
Dexvertbot (Talk | contribs) m (→Sample files) |
|||
(22 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|cpx}}, {{ext|pat}} | + | |extensions={{ext|cdr}}, {{ext|cdt}}, {{ext|cdx}}, {{ext|cpx}}, {{ext|csl}} ,{{ext|pat}} |
|pronom={{PRONOM|fmt/430}}, others | |pronom={{PRONOM|fmt/430}}, others | ||
}} | }} | ||
Line 15: | Line 15: | ||
* '''.ccx''': Compressed .cmx; see [[CCX (Corel)]] | * '''.ccx''': Compressed .cmx; see [[CCX (Corel)]] | ||
* '''.cpx''': Corel Presentation Exchange Compressed Format (?) | * '''.cpx''': Corel Presentation Exchange Compressed Format (?) | ||
+ | * '''.csl''': Corel Symbol Library | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 35: | Line 36: | ||
|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 8.0 Bidi || <code>cdr8</code> || {{PRONOM|fmt/1924}} || |
|- | |- | ||
|Drawing 9.0 || <code>CDR9</code> || {{PRONOM|x-fmt/374}} || | |Drawing 9.0 || <code>CDR9</code> || {{PRONOM|x-fmt/374}} || | ||
Line 45: | Line 46: | ||
|Drawing 12.0 || <code>CDRC</code> || {{PRONOM|fmt/427}} || | |Drawing 12.0 || <code>CDRC</code> || {{PRONOM|fmt/427}} || | ||
|- | |- | ||
− | |Drawing 12.5 || <code>DESC</code> || || | + | |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 53: | Line 54: | ||
|Drawing X5 || <code>CDRF</code> || {{PRONOM|fmt/430}} || | |Drawing X5 || <code>CDRF</code> || {{PRONOM|fmt/430}} || | ||
|- | |- | ||
− | |Drawing X6 || rowspan=" | + | |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> || | + | |Drawing X7 || <code>CDRH</code> || {{PRONOM|fmt/1926}} || |
|- | |- | ||
− | |Drawing X8 || <code>CDRJ</code> || | + | |Drawing X8 || <code>CDRJ</code> || {{PRONOM|fmt/1927}} || |
|- | |- | ||
− | |Drawing 2017 || <code>CDRK</code> || | + | |Drawing 2017 || <code>CDRK</code> || {{PRONOM|fmt/1928}} || |
|- | |- | ||
− | |Drawing 2018 || <code>CDRL</code> || | + | |Drawing 2018 || <code>CDRL</code> || {{PRONOM|fmt/1929}} || |
|- | |- | ||
− | |Drawing 2019 || <code>CDRM</code> || | + | |Drawing 2019 || <code>CDRM</code> || {{PRONOM|fmt/1930}} || |
|- | |- | ||
− | |Template || .cdt || || {{PRONOM|x-fmt/30}} || | + | |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 | |Compressed Drawing || .cdx || || {{PRONOM|x-fmt/31}} || CorelID=0x704 | ||
Line 78: | Line 87: | ||
|- | |- | ||
|Pattern || .pat || || {{PRONOM|x-fmt/76}} || || Same as .cdr format? | |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 | + | 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) | * ArtShow 91 (File formats supported: CDR, PCX, DIB, MID) | ||
− | * ArtShow 3 (File formats supported: BMP, CDR, PCX, PCD) | + | * [https://archive.org/details/corel-art-show-3-1992 ArtShow 3] (File formats supported: BMP, CDR, PCX, PCD) |
− | * ArtShow 4 (File formats supported: BMP, CD_, 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. |
− | * ArtShow 5 (File formats supported: CDX) | + | * [https://archive.org/details/corel-art-show-5-1994 ArtShow 5] (File formats supported: CDX) Header begins with "{{magic|CDRCOMP1}}" |
− | * ArtShow 6 & 7 (File formats supported: CPX) | + | * [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)]] | * [[CCX (Corel)]] | ||
* [[CMX]] | * [[CMX]] | ||
+ | * [[CorelChart]] | ||
+ | * [[CorelMOSAIC library]] | ||
+ | * [[CorelMOVE]] | ||
+ | * [[Corel R.A.V.E.]] | ||
* [[SHW (Corel)]] | * [[SHW (Corel)]] | ||
* [[WFN (font format)]] | * [[WFN (font format)]] | ||
Line 101: | Line 117: | ||
* [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] | ||
+ | * [https://github.com/kaitai-io/coreldraw_cdr.ksy/blob/master/bin/cdr-unpk coreldraw_cdr.ksy KaiTai structure] | ||
== Sample files == | == Sample files == | ||
Line 107: | Line 125: | ||
* {{CdTextfilesURL|somuch/smsharew/CLIPART/1992CALS.ZIP}} | * {{CdTextfilesURL|somuch/smsharew/CLIPART/1992CALS.ZIP}} | ||
* {{CdTextfilesURL|ccbwindows93/CORELDRA/}} | * {{CdTextfilesURL|ccbwindows93/CORELDRA/}} | ||
+ | * {{DexvertSamples|image/cdr}} | ||
+ | * {{DexvertSamples|archive/corelThumbnails}} | ||
+ | * {{DexvertSamples|image/corelDrawPattern}} | ||
== Links == | == Links == | ||
Line 119: | Line 140: | ||
[[Category:RIFF based file formats]] | [[Category:RIFF based file formats]] | ||
[[Category:Corel]] | [[Category:Corel]] | ||
+ | [[Category:ZIP based file formats]] |
Latest revision as of 04:40, 28 December 2023
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
- CCX (Corel)
- CMX
- CorelChart
- CorelMOSAIC library
- CorelMOVE
- Corel R.A.V.E.
- SHW (Corel)
- WFN (font format)
[edit] Software
[edit] Sample files
- http://cd.textfiles.com/monstmedia/CLIPART/ → *.CDR
- http://cd.textfiles.com/1stcanadian/graphics/cor2help/
- http://cd.textfiles.com/somuch/smsharew/CLIPART/1992CALS.ZIP
- http://cd.textfiles.com/ccbwindows93/CORELDRA/
- dexvert samples — image/cdr
- dexvert samples — archive/corelThumbnails
- dexvert samples — image/corelDrawPattern
[edit] Links
- Wikipedia: CorelDRAW
- History of Corel
- sK1 program attempts to reverse-engineer CorelDRAW format
- Corel DRAW X6 file format subdued by libcdr