Illustrator31
Object new

ExportOptionsAVIF

Options which may be supplied when exporting a document as a AVIF file.

AVIF export fails from a script in Illustrator 31.0 with “Internal error”, with or without options, and reading a property of a new ExportOptionsAVIF throws “The property was not initialized”. WebP export works.

Properties

NameType AccessDescription
static Number = 72.0 read/write Image resolution in pixels-per-inch.
static AntiAliasingMethod = AntiAliasingMethod.TYPEOPTIMIZED
read/write Should the resulting image be antialiased.
static Boolean = false read/write Embed an ICC profile when exporting.
static Int32 = 63 0–63 read/write In lossy compression, indicates the quality of the image to maintain.
static Boolean = false read/write Choose to include metadata (XMP)
static Boolean = true read/write Should include alpha channel.
static Boolean = true read/write Indicates whether to have lossless or lossy compression.
static RGBColor read/write Matte color to be used for background if image is not transparent.