CorelDRAW


CorelDRAW is a vector graphics editor developed and marketed by Corel Corporation. It is also the name of the Corel graphics suite, which includes the bitmap-image editor Corel Photo-Paint as well as other graphics-related programs. The latest version is marketed as CorelDraw Graphics Suite 2020, and was released in March, 2020. CorelDraw is designed to edit two-dimensional images such as logos and posters.

History

In 1987, Corel engineers Michel Bouillon and Pat Beirne undertook to develop a vector-based illustration program to bundle with their desktop publishing systems. That program, CorelDraw, was initially released in 1989. CorelDraw 1.x and 2.x ran under Windows 2.x and 3.0. CorelDraw 3.0 came into its own with Microsoft's release of Windows 3.1. The inclusion of TrueType in Windows 3.1 transformed CorelDraw into a serious illustration program capable of using system-installed outline fonts without requiring third-party software such as Adobe Type Manager; paired with a photo-editing program, a font manager and several other pieces of software, it was also part of the first all-in-one graphics suite.

Features by version

† CorelDraw 10 to X4 can open files of version 3 and later, but certain features may not be supported.

‡ The list of file formats that CorelDraw 10 to X4 can write may not be complete in this table.

* CorelDraw X7 on Windows 10 requires Update 5.

Features

Supported platforms

CorelDRAW Graphics Suite was originally developed for Microsoft Windows 3, and as of 2020 runs on Windows 7, Windows 8.1 and Windows 10. macOS releases began on March 12, 2019, after an 18-year absence.
With version 6, Corel introduced task automation using a proprietary scripting language, Corel SCRIPT. Support for VBA macros was added in version 10, and Corel SCRIPT was eventually deprecated. Support for VSTA is now included in Windows and requires Visual Studio 2017. Version 2019 added Javascript as an option for cross-platform scripting with MacOS support; however, the built-in IDE does not support it as of 2020.

Previously supported platforms

Until the release of version 5, CorelDraw versions existed for Windows 3.1x, CTOS and OS/2.

CDR file format

Structure

In its first versions, the CDR file format was a completely proprietary file format primarily used for vector graphic drawings, recognizable by the first two bytes of the file being "WL". Starting with CorelDraw 3, the file format changed to a Resource Interchange File Format envelope, recognizable by the first four bytes of the file being "RIFF", and a "CDR*vrsn" in bytes 9 to 15, with the asterisk "*" being just a blank in early versions. Beginning with CorelDraw 4 it included the version number of the writing program in hexadecimal. The actual data chunk of the RIFF remains a Corel proprietary format.
From version X4 on, the CDR file is a ZIP-compressed directory of several files, among them XML files and the RIFF-structured riffdata.cdr with the familiar version signature in versions X4 and X5, and a root.dat with CorelDraw X6, where the bytes 9 to 15 look slightly different – "CDRGfver" in a file created with X6. "F" was the last valid hex digit, and the "fver" now indicates that the letter before no longer represents a hex digit.
There is no publicly available CDR file format specification.
Other CorelDraw file formats include CorelDraw Compressed, CorelDraw Template and Corel Presentation Exchange.

Use of CDR files in other programs

In December 2006 the sK1 open-source project team started to reverse-engineer the CDR format. The results and the first working snapshot of the CDR importer were presented at the Libre Graphics Meeting 2007 conference taking place in May 2007 in Montreal. Later on the team parsed the structure of other Corel formats with the help of the open source CDR Explorer. As of 2008, the sK1 project claims to have the best import support for CorelDraw file formats among open source software programs. The sK1 project developed also the UniConvertor, a command line open source tool which supports conversion from CorelDraw ver.7-X4 formats to other formats. UniConvertor is also used in the Inkscape and Scribus open source projects as an external tool for importing CorelDraw files.
In 2007, Microsoft blocked CDR file format in Microsoft Office 2003 with the release of Service Pack 3 for Office 2003. Microsoft later apologized for inaccurately blaming the CDR file format and other formats for security problems in Microsoft Office and released some tools for solving this problem.
In 2012 the joint LibreOffice/re-lab team implemented libcdr, a library for reading CDR files from version 7 to X3 and CMX files. The library has extensive support for shapes and their properties, including support for color management and spot colors, and has a basic support for text. The library provides a built-in converter to SVG, and a converter to OpenDocument is provided by writerperfect package. The libcdr library is used in LibreOffice starting from version 3.6, and thanks to public API it can be freely used by other applications.

Other applications supporting CDR files

CDR file format import is partially or fully supported in following applications: