WPF-Like `RenderOption` for images in MAUI app

Maties Valentin 1 Reputation point
2022-10-26T06:45:32.493+00:00

Hi.
Is there any property for Image to be render more clearly?

This is how it must be displayed:
How-It-Must.png

This is how it is displayed, is not so accurate:
HowItIs.png

Edit: My project will run only on Windows Desktop and MacCatalyst, no Android, no iOS.

In action:

197962943-e23f1b57-4e8a-489a-85e5-ebe056cb39f1.gif

Xaml code for image:

<Border  
    Grid.Row="1"  
    Margin="3"  
    HeightRequest="140"  
    StrokeShape="RoundRectangle 1,1,1,1"  
    WidthRequest="140">  
    <Border.Stroke>Black</Border.Stroke>  
    <Border.StrokeThickness>0.3</Border.StrokeThickness>  
    <Image  
        Margin="1"  
        Aspect="AspectFill"  
        Background="{StaticResource Gray100}"  
        HeightRequest="130"  
        HorizontalOptions="Center"  
        Source="{Binding MyImage}"  
        VerticalOptions="Center"  
        WidthRequest="130" />  
</Border>  
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,087 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Maties Valentin 1 Reputation point
    2022-10-27T07:59:59.953+00:00

    The issue was posted on MAUI's GitHub project issues, and has been added to BackLog.

    0 comments No comments