I am trying to get gifs to load from a platform folder and using the game name but doesn't work. Example:
<Image gif:ImageBehavior.AnimatedSource="{}pack://siteoforigin:,,,/StartupThemes/LBFade/Images/Gifs/{0}/{1}.gif" RenderOptions.BitmapScalingMode="HighQuality" Height="{Binding ElementName=Canvas, Path=ActualHeight}" Width="{Binding ElementName=Canvas, Path=ActualWidth}">
</Image>
I do have GIFs working just want to keep them organized within a platform folder and each game could have it's own gifs when launching the game. This code above does not work. This is for the startup theme.
Here is what I do have that works:
<Image gif:ImageBehavior.AnimatedSource="{}pack://siteoforigin:,,,/StartupThemes/LBFade/Images/Gifs/Atari 2600.gif" RenderOptions.BitmapScalingMode="HighQuality" Height="{Binding ElementName=Canvas, Path=ActualHeight}" Width="{Binding ElementName=Canvas, Path=ActualWidth}">
</Image>
This works for fullscreen 3840x2160 gifs with transparent backgrounds ?