Adobe 26001360 Scripting Guide - Page 196
PNG8 export options, Table 4.69, PNG8 export options - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 196 highlights
196 AppleScript Reference tell application "Illustrator CS" open aFile export current document to file newFilePath as PNG24 ¬ with options {class:PNG24 export options ¬ , horizontal scaling:50.0 ¬ , vertical scaling:50.0 ¬ , saving as HTML:true} close current document saving no end tell end repeat end SaveFilesAsPNG24HTML -- Call handler set sourceFolder to choose folder with prompt "Source folder?" tell application "Finder" to ¬ set fileList to every file of folder sourceFolder as alias list set destinationFolder to choose folder with prompt "Destination folder?" SaveFilesAsPNG24HTML(fileList, destinationFolder) PNG8 export options Options which may be supplied when exporting a document as a PNG file with 8-bit color. See the export command in the command reference for additional details. Table 4.69 PNG8 export options - Properties Property R/O Value type antialiasing boolean artboard clipping boolean color count integer What it is If true, the resulting image should be anti-aliased; default: true If true, the resulting image should be clipped to the artboard; default: false The number of colors in the exported color table. This value can range from 2 to 256. The default value is 128 if the property is not set explicitly. 12 Aug 03