Hi folks,
I´m trying to use Adobes JS API to export an open document in different versions / settings
via SaveForWeb in PS 2014 (2014.2.2 20141204.r.310) :
- one "progressive"
- one "optimized"
- one without any of these two
A short snippet (for exporting "optimized" version) for ExtendScript Toolkit CC:
var exportOptionsSaveForWeb = new ExportOptionsSaveForWeb();
exportOptionsSaveForWeb.format = SaveDocumentType.JPEG;
exportOptionsSaveForWeb.includeProfile = false;
exportOptionsSaveForWeb.interlaced = false;
exportOptionsSaveForWeb.optimized = true;
exportOptionsSaveForWeb.quality = 60;
var target = new File('~/Desktop/EXPORT_TEST/jpg_optimized.jpg');
var doc = app.activeDocument;
doc.exportDocument(target, ExportType.SAVEFORWEB, exportOptionsSaveForWeb);
No matter what combination of "interlaced" and "optimized" params I use, the result is always a progressive/interlaced JPEG.
Even if I use the code produced by ScriptListener (which I really wouldn´t prefer)
after exporting the desired file manually: the result is always an interlaced JPEG!
I really go nuts on this one.
Any ideas, or maybe a known bug?!
Thanks in advance!