Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Anyone know why this basic JavaScript always results in an anti-aliased export as PNG?

if ( app.documents.length > 0 ) {
var doc = app.activeDocument;
var exportOptions = new ExportOptionsPNG24();
var fileSpec = new File(doc.path + '/test1.png');
exportOptions.antiAliasing = false;
app.activeDocument.exportFile( fileSpec, ExportType.PNG24, exportOptions );

As you can see anti Aliasing is set to false but the output is AA. Is there a Preference or setting somewhere in Illustrator that is overriding this option?

share|improve this question
If you don't get any answers here, the scripting sections of Adobe's forums are pretty helpful for questions like these. –  user568458 Aug 2 '13 at 14:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.