ImageAnalysisOptions.SmartCropsAspectRatios Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A list of aspect ratios to use for smart cropping.
public System.Collections.Generic.IEnumerable<float> SmartCropsAspectRatios { get; set; }
member this.SmartCropsAspectRatios : seq<single> with get, set
Public Property SmartCropsAspectRatios As IEnumerable(Of Single)
Property Value
Remarks
Aspect ratios are calculated by dividing the target crop width in pixels by the height in pixels. Supported values are between 0.75 and 1.8 (inclusive). If this parameter is not specified, the service will return one crop region with an aspect ratio it sees fit between 0.5 and 2.0 (inclusive).
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET