Interface IBitmap
- Namespace
- Splat
- Assembly
- Splat.Drawing.dll
Represents a bitmap image that was loaded via a ViewModel. Every platform provides FromNative and ToNative methods to convert this object to the platform-specific versions.
- Inherited Members
- Extension Methods
Properties
Height
Gets the height in pixel units (depending on platform).
Property Value
Width
Gets the width in pixel units (depending on platform).
Property Value
Methods
Save(CompressedBitmapFormat, float, Stream)
Saves an image to a target stream.
Parameters
format
CompressedBitmap Format The format to save the image in.
quality
floatIf JPEG is specified, this is a quality factor between 0.0 and 1.0f where 1.0f is the best quality.
target
StreamThe target stream to save to.
Returns
- Task
A signal indicating the Save has completed.