Copies this pixmap to the destination, scaling the pixels to fit the destination size and converting the pixels to match the color type and alpha type.
public bool ScalePixels (SkiaSharp.SKPixmap destination, SkiaSharp.SKFilterQuality quality);
The pixmap to recieve the scaled and converted pixels.
The level of quality to use when scaling the pixels.
true on success, or
false if there was an error.
Pixels are copied only if pixel conversion is possible.
If the alpha type is Opaque, the destination alpha type must match.
If the colorspace is
null, the destination colorspace must also be
- None is fastest, typically implemented with nearest neighbor filter.
- Low is typically implemented with bilerp filter.
- Medium is typically implemented with bilerp filter, and mipmap when size is reduced.
- High is slowest, typically implemented with the bicubic filter.