Png8 Export Options - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

196
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
antialiasing
artboard clipping
color count
R/O
Value type
boolean
boolean
integer
12 Aug 03
AppleScript Reference
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents