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

    ResizeOptions

    属性

    height?

    optional height: number;

    Defaults to the image's height.

    定义于

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


    quality?

    optional quality: "good" | "better" | "best";

    The desired quality of the resize image. Possible values include good, better, or best. The default is best. These values express a desired quality/speed tradeoff. They are translated into an algorithm-specific method that depends on the capabilities (CPU, GPU) of the underlying platform. It is possible for all three methods to be mapped to the same algorithm on a given platform.

    定义于

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


    width?

    optional width: number;

    Defaults to the image's width.

    定义于

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

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。