node-sstv / Exports
Renames and re-exports SSTVStream
Ƭ ObjectFit: "cover"
| "contain"
| "fill"
| "inside"
| "outside"
The way the image is resized to fit the SSTV Mode's resolution.
Ƭ SSTVEncoderOptions: Object
Options to the SSTV Encoder
Name | Type | Description |
---|---|---|
objectFit? |
ObjectFit |
Used when resizeImage is set to true . Defines the behavior during the image akin to object-fit in CSS. Defaults to 'cover' . |
pcmFormat? |
PCMFormat |
Selects the data format of the output PCM. Defaults to PCMFormat.UNSIGNED_16_LE . |
resizeImage? |
boolean |
If set to true , the image is resized approapriately to the selected SSTV mode. Defaults to true . |
sampleRate? |
number |
Sample rate of the output PCM. Defaults to 44100 . |