Public typealias

An asset for images such as PNGs and JPEGs, used by the TLImageShape.

Signature
type TLImageAsset = TLBaseAsset<
  'image',
  {
    w: number
    h: number
    name: string
    isAnimated: boolean
    mimeType: null | string
    src: null | string
  }
>
References

TLBaseAsset

Source

packages/tlschema/src/assets/TLImageAsset.ts

TLHighlightShapeTLImageShape