Vibrant
Class: Vibrant
Section titled “Class: Vibrant”Main class of node-vibrant.
Constructors
Section titled “Constructors”new Vibrant()
Section titled “new Vibrant()”new Vibrant(_src, opts?): VibrantParameters
Section titled “Parameters”ImageSource
Path to image file (supports HTTP/HTTPs)
Partial<Options>
Options (optional)
Returns
Section titled “Returns”Defined in
Section titled “Defined in”Properties
Section titled “Properties”opts: Options;Defined in
Section titled “Defined in”DefaultOpts
Section titled “DefaultOpts”static DefaultOpts: Partial<Options>;Defined in
Section titled “Defined in”Accessors
Section titled “Accessors”result
Section titled “result”Get Signature
Section titled “Get Signature”get result(): undefined | ProcessResultReturns
Section titled “Returns”undefined | ProcessResult
Defined in
Section titled “Defined in”Methods
Section titled “Methods”getPalette()
Section titled “getPalette()”getPalette(): Promise<Palette>Returns
Section titled “Returns”Promise<Palette>
Defined in
Section titled “Defined in”getPalettes()
Section titled “getPalettes()”getPalettes(): Promise<{}>Returns
Section titled “Returns”Promise<{}>
Defined in
Section titled “Defined in”from()
Section titled “from()”static from(src): BuilderParameters
Section titled “Parameters”ImageSource
Returns
Section titled “Returns”Defined in
Section titled “Defined in”static use(pipeline): voidParameters
Section titled “Parameters”pipeline
Section titled “pipeline”Pipeline
Returns
Section titled “Returns”void