Copy link to clipboard
Copied
I want to export artboards as PNG files in a JavaScript. In the past I used the ExportOptionsPNG24, but font comes out fussy in small sizes.
Is there a way to script the export-as-feature in Illustrator? (File > Export as > PNG with artboards and anti-aliasing/Type optimized)
I haven’t found anything in the scripting reference 2017:
Any hints welcome. I just want to know, if it's possible. No need for a final script. 😉
Some of the "Export" features are buggy or absent from the scripting commands. Thankfully, in versions starting with CS6, we have been able to play Actions from the actions panel as well as loading those actions in from a .aia text file.
When the scripting command come short of your needs, you can create an action file, load it, and play it to get your export working for sure. You may be intimidated by the .aia file's content if you're first starting out, but conveniently I have made a small tuto
...Copy link to clipboard
Copied
Some of the "Export" features are buggy or absent from the scripting commands. Thankfully, in versions starting with CS6, we have been able to play Actions from the actions panel as well as loading those actions in from a .aia text file.
When the scripting command come short of your needs, you can create an action file, load it, and play it to get your export working for sure. You may be intimidated by the .aia file's content if you're first starting out, but conveniently I have made a small tutorial here just for this purpose!
Copy link to clipboard
Copied
Thanks a ton, Silly-V,
I thought of using actions, but wasn't aware that I can add it to my script and use my own variables.
Very helpful!