TLImageAsset

See source code

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

type TLImageAsset = TLBaseAsset<
  "image",
  {
    fileSize?: number;
    h: number;
    isAnimated: boolean;
    mimeType: null | string;
    name: string;
    pixelRatio?: number;
    src: null | string;
    w: number;
  }
>;
Prev
TLHighlightShape
Next
TLImageShape