Skip to content

Commit

Permalink
Android GIF decoding optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-luberda committed Aug 30, 2017
1 parent 39ee10d commit 7f92e97
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 185 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
xmlns:fftransformations="clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations"
Title="Simple Gif">
<ContentPage.Content>
<ffimageloading:CachedImage WidthRequest="300" HeightRequest="300"
DownsampleToViewSize="true" Source="{Binding ImageUrl}">
<ContentView HorizontalOptions="Center" VerticalOptions="Center">
<ffimageloading:CachedImage HeightRequest="200" DownsampleHeight="200"
Source="{Binding ImageUrl}">
<ffimageloading:CachedImage.Transformations>
<fftransformations:CircleTransformation/>
</ffimageloading:CachedImage.Transformations>
</ffimageloading:CachedImage>
</ffimageloading:CachedImage.Transformations>
</ffimageloading:CachedImage>
</ContentView>
</ContentPage.Content>
</ContentPage>
Loading

0 comments on commit 7f92e97

Please sign in to comment.