편집

다음을 통해 공유


SKBitmap.Resize Method

Definition

Overloads

Resize(SKBitmap, SKBitmapResizeMethod)
Obsolete.

Resizes the current bitmap using the specified resize method.

Resize(SKImageInfo, SKBitmapResizeMethod)
Obsolete.

Resizes the current bitmap using the specified resize method.

Resize(SKImageInfo, SKFilterQuality)

Resizes the current bitmap using the specified quality filter.

Resize(SKSizeI, SKFilterQuality)
Resize(SKBitmap, SKBitmap, SKBitmapResizeMethod)
Obsolete.

Resizes the provided bitmap using the specified resize method.

Resize(SKBitmap, SKBitmapResizeMethod)

Caution

Use ScalePixels(SKBitmap, SKFilterQuality) instead.

Resizes the current bitmap using the specified resize method.

public bool Resize (SkiaSharp.SKBitmap dst, SkiaSharp.SKBitmapResizeMethod method);
[System.Obsolete("Use ScalePixels(SKBitmap, SKFilterQuality) instead.")]
public bool Resize (SkiaSharp.SKBitmap dst, SkiaSharp.SKBitmapResizeMethod method);

Parameters

dst
SKBitmap

The bitmap to store the resized pixels.

method
SKBitmapResizeMethod

The resize method.

Returns

Returns true if the resize operation can be performed, otherwise false.

Attributes

Applies to

Resize(SKImageInfo, SKBitmapResizeMethod)

Caution

Use Resize(SKImageInfo, SKFilterQuality) instead.

Resizes the current bitmap using the specified resize method.

public SkiaSharp.SKBitmap Resize (SkiaSharp.SKImageInfo info, SkiaSharp.SKBitmapResizeMethod method);
[System.Obsolete("Use Resize(SKImageInfo, SKFilterQuality) instead.")]
public SkiaSharp.SKBitmap Resize (SkiaSharp.SKImageInfo info, SkiaSharp.SKBitmapResizeMethod method);

Parameters

info
SKImageInfo

The image information of the desired bitmap.

method
SKBitmapResizeMethod

The resize method.

Returns

Returns the resized bitmap if the resize operation could be performed, otherwise null.

Attributes

Applies to

Resize(SKImageInfo, SKFilterQuality)

Resizes the current bitmap using the specified quality filter.

public SkiaSharp.SKBitmap Resize (SkiaSharp.SKImageInfo info, SkiaSharp.SKFilterQuality quality);

Parameters

info
SKImageInfo

The image information of the desired bitmap.

quality
SKFilterQuality

The level of quality to use when scaling the pixels.

Returns

Returns the resized bitmap if the resize operation could be performed, otherwise null.

Applies to

Resize(SKSizeI, SKFilterQuality)

public SkiaSharp.SKBitmap Resize (SkiaSharp.SKSizeI size, SkiaSharp.SKFilterQuality quality);

Parameters

size
SKSizeI
quality
SKFilterQuality

Returns

Applies to

Resize(SKBitmap, SKBitmap, SKBitmapResizeMethod)

Caution

Use ScalePixels(SKBitmap, SKFilterQuality) instead.

Resizes the provided bitmap using the specified resize method.

public static bool Resize (SkiaSharp.SKBitmap dst, SkiaSharp.SKBitmap src, SkiaSharp.SKBitmapResizeMethod method);
[System.Obsolete("Use ScalePixels(SKBitmap, SKFilterQuality) instead.")]
public static bool Resize (SkiaSharp.SKBitmap dst, SkiaSharp.SKBitmap src, SkiaSharp.SKBitmapResizeMethod method);

Parameters

dst
SKBitmap

The bitmap to store the resized pixels.

src
SKBitmap

The bitmap to resize.

method
SKBitmapResizeMethod

The resize method.

Returns

Returns true if the resize operation can be performed, otherwise false.

Attributes

Applies to