Class ImageFormatCollection

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

client: Client
jpg: null | Image
webp: null | Image

Methods

  • Parameters

    • formats: ("jpg" | "webp")[]
    • sizes: (
          | "small"
          | "default"
          | "medium"
          | "large"
          | "maximum")[]

    Returns null | URL

  • Parameters

    • formats: ("jpg" | "webp")[]

    Returns null | Image