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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET