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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET