Method ToSkia
ToSkia(GenericImage, bool)
Converts GenericImage to SKBitmap. Optionally copies pixel data.
public static SKBitmap ToSkia(GenericImage bitmap, bool assignPixels = true)
Parameters
bitmap
GenericImageImage.
assignPixels
boolWhether to copy pixel data. Optional. Default is
true
.
Returns
ToSkia(IGenericImageHandler, bool)
Converts image specified with IGenericImageHandler to SKBitmap. Optionally copies pixel data.
public static SKBitmap ToSkia(IGenericImageHandler bitmap, bool assignPixels = true)
Parameters
bitmap
IGenericImageHandlerImage.
assignPixels
boolWhether to copy pixel data. Optional. Default is
true
.