Interface: BatchOptions
Defined in: packages/sdvtables/src/export/index.ts:48
Options for batchToPNG, as Python gt_save_batch (no width; each file is named by its group).
Extends
Omit<PNGOptions,"width"|"file">
Properties
background?
optionalbackground?:string
Defined in: packages/sdvtables/src/export/index.ts:34
the color around the content; default "white"
Inherited from
deviceScaleFactor?
optionaldeviceScaleFactor?:number
Defined in: packages/sdvtables/src/export/index.ts:32
the rendering zoom (Python zoom); default 2, a sharp (retina) image
Inherited from
dir
dir:
string
Defined in: packages/sdvtables/src/export/index.ts:49
fontLinks?
optionalfontLinks?: readonlystring[]
Defined in: packages/sdvtables/src/export/index.ts:38
stylesheet URLs (Google Fonts) awaited via document.fonts.ready
Inherited from
matchWidth?
optionalmatchWidth?:boolean
Defined in: packages/sdvtables/src/export/index.ts:50
whitespace?
optionalwhitespace?:number
Defined in: packages/sdvtables/src/export/index.ts:36
image pixels of background left around the trimmed content (Python whitespace, truncated to an integer); default 50