Saving non-Anti-Aliased PNGs from Illustrator
We have many EPS files which we want to process into very precise bitmap formats.
I have a square artboard (and man, was generating that automatically a scripting exercise far in advance of how complex it should be...) that I would like to export with no anti-aliasing.
Doing this via File-->Export-->Save For Web (Legacy) generates a correctly non-anti aliased bitmap provided that you set the anti-aliasing dropdown to "none".
Doing the same thing by seting pngExportOptions.antiAliasing to false, then calling doc.exportFile demonstrably produces an anti-aliased image.
You can waste more time by messing around with ExportOptionsTIFF in the misguided belief that it's "AntiAliasingMethod.None" might do the trick. It doesn't appear to do anything either.
There is, of course, an unanswered, 2 year old question about this as the top hit on google.
Side note, we have experimented for some time over the past years with using the "professional" tools photoshop and illustrator to handle our scripted bitmap and vector image processing, instead of using ghostscript, pyimage, imagemagick, etc, and I have to conclude that their scripting support is just a complete joke.
What am I missing, aside from the fact that I'm wasting my time trying to use a "professional" solution?
