I need to create a script, in any language, for Windows, that can take .cdr files as input and convert them into .svg files. I've searched extensively for information but still don't have a solution. Thanks for any help.
For now i have python script that work on pylibcdr
:
from pylibcdr import CDRParser
filename = "test-1"
parser = CDRParser(filename + ".cdr")
print(parser.xml)
f = open(filename + ".svg", "w")
f.write(parser.xml)
f.close()
But when im trying to open output .svg files in CorelDRAW it have some artifacts