Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 1.53 KB

modules.md

File metadata and controls

62 lines (35 loc) · 1.53 KB

node-sstv / Exports

node-sstv

Table of contents

References

Enumerations

Classes

Type Aliases

References

default

Renames and re-exports SSTVStream

Type Aliases

ObjectFit

Ƭ ObjectFit: "cover" | "contain" | "fill" | "inside" | "outside"

The way the image is resized to fit the SSTV Mode's resolution.

Defined in

lib/types.ts:5


SSTVEncoderOptions

Ƭ SSTVEncoderOptions: Object

Options to the SSTV Encoder

Type declaration

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.

Defined in

lib/types.ts:84