For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/lynxtron/api/@lynx-js/lynxtron/Interface.AddRepresentationOptions.md.
  • English
  • @lynx-js/lynxtron / AddRepresentationOptions

    AddRepresentationOptions

    Properties

    buffer?

    optional buffer: any;

    The buffer containing the raw image data.

    Defined in

    apis/api/native-image.d.ts:48


    dataURL?

    optional dataURL: string;

    The data URL containing either a base 64 encoded PNG or JPEG image.

    Defined in

    apis/api/native-image.d.ts:52


    height?

    optional height: number;

    Defaults to 0. Required if a bitmap buffer is specified as buffer.

    Defined in

    apis/api/native-image.d.ts:44


    scaleFactor?

    optional scaleFactor: number;

    The scale factor to add the image representation for.

    Defined in

    apis/api/native-image.d.ts:36


    width?

    optional width: number;

    Defaults to 0. Required if a bitmap buffer is specified as buffer.

    Defined in

    apis/api/native-image.d.ts:40

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.