Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LossyPNG

Hierarchy

  • LossyPNG

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new LossyPNG(quality: number, minQuality: number, speed?: number | null, maxDeflate?: boolean): LossyPNG
  • Parameters

    • quality: number
    • minQuality: number
    • Default value speed: number | null = null
    • Default value maxDeflate: boolean = false

    Returns LossyPNG

Properties

Private Readonly maxDeflate

maxDeflate: boolean

Private Readonly minimumQuality

minimumQuality: number

Private Readonly quality

quality: number

Private Readonly speed

speed: number | null

Methods

toPreset

  • toPreset(): Object

Generated using TypeDoc