Browse Source
Update src/Avalonia.Visuals/Media/Imaging/WriteableBitmap.cs
Co-authored-by: Dariusz Komosiński <darek.komosinski@gmail.com>
pull/5800/head
Max Katz
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Visuals/Media/Imaging/WriteableBitmap.cs
|
|
|
@ -73,7 +73,7 @@ namespace Avalonia.Media.Imaging |
|
|
|
/// <param name="stream">The stream to read the bitmap from. This can be any supported image format.</param>
|
|
|
|
/// <param name="height">The desired height of the resulting bitmap.</param>
|
|
|
|
/// <param name="interpolationMode">The <see cref="BitmapInterpolationMode"/> to use should any scaling be required.</param>
|
|
|
|
/// <returns>An instance of the <see cref="Bitmap"/> class.</returns>
|
|
|
|
/// <returns>An instance of the <see cref="WriteableBitmap"/> class.</returns>
|
|
|
|
public new static WriteableBitmap DecodeToHeight(Stream stream, int height, BitmapInterpolationMode interpolationMode = BitmapInterpolationMode.HighQuality) |
|
|
|
{ |
|
|
|
var ri = AvaloniaLocator.Current.GetService<IPlatformRenderInterface>(); |
|
|
|
|