Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DecodeOptions

Hierarchy

  • DecodeOptions

Index

Constructors

constructor

Properties

Private commands

commands: Array<object | string>

Private discardColorProfileUsed

discardColorProfileUsed: boolean

Private ignoreColorProfileErrorUsed

ignoreColorProfileErrorUsed: boolean

Private setJPEGDownscaleHintUsed

setJPEGDownscaleHintUsed: boolean

Private setWebpDecoderHintsUsed

setWebpDecoderHintsUsed: boolean

Methods

discardColorProfile

ignoreColorProfileError

setJPEGDownscaleHint

  • setJPEGDownscaleHint(width: Number, height: Number, __namedParameters?: { gammaCorrectForSrgbDuringSpatialLumaScaling: boolean; scaleLumaSpatially: boolean }): DecodeOptions
  • Parameters

    • width: Number
    • height: Number
    • Default value __namedParameters: { gammaCorrectForSrgbDuringSpatialLumaScaling: boolean; scaleLumaSpatially: boolean } = {}
      • gammaCorrectForSrgbDuringSpatialLumaScaling: boolean
      • scaleLumaSpatially: boolean

    Returns DecodeOptions

setWebpDecoderHints

  • setWebpDecoderHints(width: Number, height: Number): DecodeOptions

toDecodeOptions

  • toDecodeOptions(): Array<object | string>

Generated using TypeDoc