I have sucessfully created a number of macros which have greatly improved my workflow
Sometimes on my own (I am a complete noob to scripting) and somethimes with the help of ChatGPT (it is amazing ...usually)
But it is struggling with this "simple" task
Macro workflow should be as follows
1) select all objects on the stage (ie within the boundaries of the page size)
2) convert to bitmap
3) export bitmap to transpaent png to a directory of my choice (set in the macro) and increment the filename by 1 each time - so if image1.png then next should be image2.png
Prior to that I will manually save the cdr file
I dont want to have to click on any subsequent buttons regarding quality - just use the max settings
Now compared with what I have gotten Chatgpt to do for me previously this should be a walk in the park but ...no
It is mainly having problems with squishing the file - it's not being set to the same aspect ratio
Can anyone suggest a script that would work...or give me suggestions to ask Chatgpt to try.
Pretty please....Ive been all afternoon with ChatGPT and whilst it is trying it's hardest ..it's failing
You might look at my Quick Export macro.
The only thing it falls short on is that it doesn't name the files in the way that you described. It can, however, use the document file name, append date/time text to that, and perform the save operation without any dialog. When used in that way, it saves to the most recent location used by the macro.
Thanks Eskimo. It saves it in the correct aspect ratio - great!
If I open it up in Photoshop it's transparent (required)
but when I open it up in Silhouette Cameo (where I need to work with it to cut the shape out) it's added a white background.
That's strange - not encountered that before
There are no erroros or warnings in Photoshop
Chatgpt is so close on this - can you give me any tips to get it to save with correct aspect ratio?
BottyBurp said:If I open it up in Photoshop it's transparent (required)
BottyBurp said:but when I open it up in Silhouette Cameo (where I need to work with it to cut the shape out) it's added a white background.
If you manually export a transparent PNG from CorelDRAW, then does it work correctly for you in Silhouette Cameo?
Yes no probs at all
Sorry, but I have no idea why a transparent PNG exported using my macro would be different from one exported manually from CorelDRAW - or why it would look normal in one application, but not in another.
The macro is using the CorelDRAW API, so it's pretty much just telling CorelDRAW, "Export as a PNG with these settings".
Thanks for your time.
I know...it's very weird - I've not encountered this before
Both the attached open in photoshop with transparency
The one created with JCQuickExport does have a white background, however, when I load it into Cameo.
I don't expect you to spend more time on this - but you may find the attached interesting
The bottom "Test" was created manually in CD by exporting as png.
The top one was created with JCQE - it is perfect in Photoshop