style: set RenderOptions.BitmapInterpolationMode="HighQuality" for all image views

This commit is contained in:
leo 2024-03-29 09:49:42 +08:00
parent 911456a3e7
commit 871751d7c0
2 changed files with 3 additions and 2 deletions

View file

@ -130,7 +130,8 @@
<Border BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" Margin="8">
<v:ImageDiffView Alpha="{Binding #ImageDiffSlider.Value}"
OldImage="{Binding Old}"
NewImage="{Binding New}"/>
NewImage="{Binding New}"
RenderOptions.BitmapInterpolationMode="HighQuality"/>
</Border>
</Border>

View file

@ -94,7 +94,7 @@
<DataTemplate DataType="m:RevisionImageFile">
<Border Background="{DynamicResource Brush.Window}" Effect="drop-shadow(0 0 8 #A0000000)" Margin="0,8" VerticalAlignment="Center" HorizontalAlignment="Center">
<Border BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" Margin="8">
<v:RevisionImageFileView Source="{Binding Image}"/>
<v:RevisionImageFileView Source="{Binding Image}" RenderOptions.BitmapInterpolationMode="HighQuality"/>
</Border>
</Border>
</DataTemplate>