FFImageLoading icon indicating copy to clipboard operation
FFImageLoading copied to clipboard

Image Adjustments in Xamarin

Open Vuyiswamb opened this issue 3 years ago • 0 comments

Good Day All

i have the following Image from this

https://docs.microsoft.com/answers/storage/attachments/207702-example.png

and it displays like this

https://docs.microsoft.com/answers/storage/attachments/207693-badimage.png

and my xaml that shows the image is

<ffimage:CachedImage    x:Name="img_profile_picture"      Aspect="AspectFill"
                     BackgroundColor="{DynamicResource Gray-200}"                        
                     HeightRequest="80"                        
                     Source="{Binding ProfileImage}"
                     WidthRequest="80">
    
                         <ffimage:CachedImage.GestureRecognizers>
                             <TapGestureRecognizer NumberOfTapsRequired="1" Tapped="TapGestureRecognizer_Tapped_1" />
                         </ffimage:CachedImage.GestureRecognizers>
    
                     </ffimage:CachedImage> 

how can i make it scale so that the whole image can be visible.

Thanks

Vuyiswamb avatar Jun 02 '22 08:06 Vuyiswamb