I would like to thank you for this good idea with the Vector-Icons.
Since I want to use my own icons or graphics, I have written a conversion tool for CorelDraw 12 in VBA.
Here the link to the CorelDraw 12 file with the VBA macro:
[Link removed]
And here is a screenshot of CorelDraw and the result:
[Link removed]
And there is also a demo code in the German forum:
https://www.purebasic.fr/german/viewtop ... 00#p356300
Even though CorelDraw 12 is ancient, I like to use it.
Edit:
There are now also linear and circular colour gradients.
[Link removed]
Edit 2:
If you use the Marko or VBA module as a GMS file, CorelDraw will also work with more than 2 GB RAM. Otherwise I cannot load the document with macro, there is always an error message at 50%.
As GMS file everything works and you can also drag the macro into the toolbar and assign a keyboard shortcut.
Here the link to the GMS file and two template files:
[Link removed]
The file should be copied to the directory 'C:\Program Files (x86)\Corel\Corel Graphics 12\Draw\GMS\'. The VBA help describes what a GMS file is.
Peter