ImageOptions
Overview
ImageOptions is a interface in Aspose.PDF FOSS for TypeScript.
Properties: annotations, background, box, compression, format, height, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
format | : ImageFormat | Read | Output encoding. |
quality | : number | Read | Encoder quality, 1..100 on the IJG scale. |
compression | : 'none' | 'deflate' | 'g4' | Read | Strip compression, for formats that choose one. |
scale | : number | Read | Multiplier on the 72-DPI point size. |
width | : number | Read | Target pixel width. |
height | : number | Read | Target pixel height. |
box | : 'crop' | 'media' | Read | Which page box defines the viewport. |
background | : 'white' | 'transparent' | Read | ‘white’ → opaque RGB PNG (default); ’transparent’ → RGBA PNG, unpainted area transparent. |
annotations | : boolean | Read | Composite annotation and form-field /AP appearances. |