Search code examples
coreldraw

Where can I find the .cdr file (Corel Draw) specification or a library that writes to it


I need to output something into a .cdr (Corel Draw) file format. After some time searching, I can't find any useful information on the file format, and so far I haven't found a library that I can use. I would prefer the lib to be either C++ or python, but currently I'm desperate enough to just rewrite it from another language into one that suits me, if there is one available, or writing it from scratch if there isn't and I have the specification.


Solution

  • CDR format is supported by some non-Corel software.

    I started to write my own CDR specification here: https://github.com/photopea/CDR-specification/ I believe it is the only public CDR specification that exists at the moment.