cc-everywhere

Interface: AssetPreviewConfig

Configuration for generating an additional preview of the exported asset alongside the primary export.

See

PublishAction for the action that carries this config

Properties

Property
Type
Description
enabled
boolean
When true, requests that a preview be generated alongside the primary exported asset, returned via PublishParams.assetPreview. Default false
fileType?
ImageFileType
Desired ImageFileType for the generated preview. Default ImageFileType.PNG
outputType?
AssetDataType
Desired asset data type for the generated preview, independent of primary asset's PublishAction.outputType. Default base64
scale?
number
Scale of the preview relative to the primary asset, from 0 to 1. For example, 0.5 generates a preview at half the size of the primary asset. Values outside this range are rejected at validation time. Minimum 0 Maximum 1 Default 0.5