This commit is contained in:
龙腾猫跃
2023-02-04 18:35:32 +08:00
parent eb9e7864c9
commit b06328645c
9 changed files with 42 additions and 26 deletions
@@ -231,7 +231,7 @@
.RenderTransform = New ScaleTransform With {.ScaleX = LogoScale, .ScaleY = LogoScale},
.SnapsToDevicePixels = True, .UseLayoutRounding = False}
RenderOptions.SetBitmapScalingMode(PathLogo, BitmapScalingMode.Linear)
ElseIf _Logo.ToLower.EndsWith(".png") Then
ElseIf _Logo.ToLower.EndsWith(".png") OrElse _Logo.ToLower.EndsWith(".jpg") Then
'位图
Dim Bitmap = New MyBitmap(_Logo)
PathLogo = New Canvas With {