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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for